rust/tests/rustdoc-ui/doc-include-suggestion.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
258 B
Rust
Raw Normal View History

2021-05-19 01:46:41 +00:00
#[doc(include = "external-cross-doc.md")]
2024-02-29 13:43:11 +00:00
//~^ ERROR unknown `doc` attribute `include`
2021-05-19 01:46:41 +00:00
//~| 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;