summaryrefslogtreecommitdiffstats
path: root/tests/ui/rustdoc/deny-invalid-doc-attrs.rs
blob: 02e9c67915f154e799e477dcff90389c4638f9b8 (plain)
1
2
3
4
5
6
7
#![deny(invalid_doc_attributes)]
//~^ NOTE defined here
#![doc(x)]
//~^ ERROR unknown `doc` attribute `x`
//~| WARNING will become a hard error
//~| NOTE see issue #82730
fn main() {}