about summary refs log tree commit diff
path: root/tests/rustdoc-ui/doc-include-suggestion.rs
blob: 5c8d1efa76fe2b03b5ecedfd8441874ad8358a2a (plain)
1
2
3
4
5
6
7
8
9
10
//@ check-pass

#[doc(include = "external-cross-doc.md")]
//~^ WARNING 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
//~| WARNING previously accepted
//~| NOTE see issue #82730
pub struct NeedMoreDocs;