Closed
Description
$ rustup show
Default host: x86_64-apple-darwin
installed toolchains
--------------------
stable-x86_64-apple-darwin
nightly-x86_64-apple-darwin (default)
active toolchain
----------------
nightly-x86_64-apple-darwin (default)
rustc 1.28.0-nightly (4a9c58c6b 2018-06-05)
$ cargo doc -p h2
Documenting h2 v0.1.9
warning: [u8] cannot be resolved, ignoring it...
--> /Users/example/.cargo/registry/src/github.com-1ecc6299db9ec823/bytes-0.4.8/src/lib.rs:1:1
|
1 | / //! Provides abstractions for working with bytes.
2 | | //!
3 | | //! The `bytes` crate provides an efficient byte buffer structure
4 | | //! ([`Bytes`](struct.Bytes.html)) and traits for working with buffer
... |
68 | | //! perform a syscall, which has the potential of failing. Operations on `Buf`
69 | | //! and `BufMut` are infallible.
| |________________________________^
|
= note: the link appears in this line:
A `Bytes` handle can be created directly from an existing byte store (such as &[u8]
^^
warning: [cfg] cannot be resolved, ignoring it...
--> /Users/example/.cargo/registry/src/github.com-1ecc6299db9ec823/cfg-if-0.1.3/src/lib.rs:1:1
|
1 | / //! A macro for defining #[cfg] if-else statements.
2 | | //!
3 | | //! The macro provided by this crate, `cfg_if`, is similar to the `if/elif` C
4 | | //! preprocessor macro by allowing definition of a cascade of `#[cfg]` cases,
... |
26 | | //! # fn main() {}
27 | | //! ```
| |_______^
|
= note: the link appears in this line:
A macro for defining #[cfg] if-else statements.
^^^
warning: [cfg] cannot be resolved, ignoring it...
--> /Users/example/.cargo/registry/src/github.com-1ecc6299db9ec823/cfg-if-0.1.3/src/lib.rs:1:1
|
1 | / //! A macro for defining #[cfg] if-else statements.
2 | | //!
3 | | //! The macro provided by this crate, `cfg_if`, is similar to the `if/elif` C
4 | | //! preprocessor macro by allowing definition of a cascade of `#[cfg]` cases,
... |
26 | | //! # fn main() {}
27 | | //! ```
| |_______^
|
= note: the link appears in this line:
This allows you to conveniently provide a long list #[cfg]'d blocks of code
^^^
warning: [Debug] cannot be resolved, ignoring it...
|
= note: the link appears in this line:
themselves through the [`Display`] and [`Debug`] traits, and may provide
^^^^^^^
error[E0658]: access to extern crates through prelude is experimental (see issue #44660)
|
= help: add #![feature(extern_prelude)] to the crate attributes to enable
error: Could not document `h2`.
Caused by:
process didn't exit successfully: `rustdoc --crate-name h2 /Users/example/.cargo/registry/src/github.com-1ecc6299db9ec823/h2-0.1.9/src/lib.rs -o /Users/example/example-cargo-project/target/doc -L dependency=/Users/example/example-cargo-project/target/debug/deps --extern byteorder=/Users/example/example-cargo-project/target/debug/deps/libbyteorder-df3eee4befa1312c.rmeta --extern bytes=/Users/example/example-cargo-project/target/debug/deps/libbytes-9fc866f4058b4096.rmeta --extern fnv=/Users/example/example-cargo-project/target/debug/deps/libfnv-2278a5d27eb0baf9.rmeta --extern futures=/Users/example/example-cargo-project/target/debug/deps/libfutures-5c1e38662d6f78e5.rmeta --extern http=/Users/example/example-cargo-project/target/debug/deps/libhttp-b2084a070c91801e.rmeta --extern indexmap=/Users/example/example-cargo-project/target/debug/deps/libindexmap-fbca607fdf3e2794.rmeta --extern log=/Users/example/example-cargo-project/target/debug/deps/liblog-1c027577d3857644.rmeta --extern slab=/Users/example/example-cargo-project/target/debug/deps/libslab-4299e706602486cd.rmeta --extern string=/Users/example/example-cargo-project/target/debug/deps/libstring-1c5b00744b69ff86.rmeta --extern tokio_io=/Users/example/example-cargo-project/target/debug/deps/libtokio_io-79182f96ea980954.rmeta` (exit code: 101)