Failing to build on latest nightly, but also when using rustup run nightly-2019-10-28 cargo build:
error[E0658]: `cfg(doctest)` is experimental and subject to change
--> /Users/amooren/.cargo/registry/src/github.com-1ecc6299db9ec823/memoffset-0.5.6/src/lib.rs:74:7
|
74 | #[cfg(doctest)]
| ^^^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/62210
= help: add `#![feature(cfg_doctest)]` to the crate attributes to enable
error[E0658]: `cfg(doctest)` is experimental and subject to change
--> /Users/amooren/.cargo/registry/src/github.com-1ecc6299db9ec823/memoffset-0.5.6/src/lib.rs:77:7
|
77 | #[cfg(doctest)]
| ^^^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/62210
= help: add `#![feature(cfg_doctest)]` to the crate attributes to enable
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0658`.
error: could not compile `memoffset`.
warning: build failed, waiting for other jobs to finish...
error: build failed
Looks correct to me?
rustc --version
rustc 1.40.0-nightly (95f437b3c 2019-10-27)
Failing to build on latest nightly, but also when using
rustup run nightly-2019-10-28 cargo build:Looks correct to me?