rust/tests/rustdoc-ui/doc-include-suggestion.rs
2024-02-29 14:43:43 +01:00

7 lines
258 B
Rust

#[doc(include = "external-cross-doc.md")]
//~^ ERROR unknown `doc` attribute `include`
//~| HELP use `doc = include_str!` instead
// FIXME(#85497): make this a deny instead so it's more clear what's happening
//~| NOTE on by default
pub struct NeedMoreDocs;