Skip to content

cargo build --no-default-features errors #136

Closed
@japaric

Description

@japaric

with:

$ cargo build --no-default-features
   Compiling mdbook v0.0.12 (file:///home/japaric/tmp/mdbook)
error: structure `book::MDBook` has no field named `livereload`
  --> src/book/mod.rs:60:13
60 |>             livereload: None,
   |>             ^^^^^^^^^^

error: attempted access of field `livereload` on type `&mut book::MDBook`, but no field with that name was found
   --> src/book/mod.rs:431:9
431 |>         self.livereload = Some(livereload);
    |>         ^^^^^^^^^^^^^^^

error: attempted access of field `livereload` on type `&mut book::MDBook`, but no field with that name was found
   --> src/book/mod.rs:436:9
436 |>         self.livereload = None;
    |>         ^^^^^^^^^^^^^^^

error: attempted access of field `livereload` on type `&book::MDBook`, but no field with that name was found
   --> src/book/mod.rs:441:15
441 |>         match self.livereload {
    |>               ^^^^^^^^^^^^^^^

error: aborting due to 4 previous errors
error: Could not compile `mdbook`.

To learn more, run the command again with --verbose.

Meta

$ git rev-parse HEAD
cfcf6d952fd7c5b08ba030ba93a8a77d5039ac10

$ rustc -V
rustc 1.10.0-nightly (62e2b2fb7 2016-05-06)

$ cargo -V
cargo 0.11.0-nightly (3a7a620 2016-05-04)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions