Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

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 _;