W3cubDocs

/Rust

Error code E0780

Cannot use doc(inline) with anonymous imports

Erroneous code example:

#[doc(inline)] // error: invalid doc argument
pub use foo::Foo as _;

Anonymous imports are always rendered with #[doc(no_inline)]. To fix this error, remove the #[doc(inline)] attribute.

Example:

pub use foo::Foo as _;

© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/error_codes/E0780.html