Rust errors / Names, paths and imports
Rust compiler error · checked with rustc 1.99.0
Rust error E0780: cannot use `doc(inline)` with anonymous imports
What it meansCannot use doc(inline) with anonymous imports
The compiler team's explanation
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 _;From rustc --explain E0780 (1.99.0), part of the Rust project, MIT or Apache-2.0. Official page.
Related errors
- E0425cannot find value in this scope
- E0603is private
- E0432unresolved import
- E0005refutable pattern in local binding
- E0754trying to load file for module `řųśť` with non-ascii identifier name
- E0761Multiple candidate files were found for an out-of-line module
- E0789`rustc_allowed_through_unstable_modules` attribute must be paired with a `stable` attribute
Up next
Often hit nextE0425: cannot find value in this scopeA related error from the same family.Read it next →Did this answer your question?