rust/tests/ui/rustdoc/deny-invalid-doc-attrs.rs
2024-02-29 14:43:43 +01:00

6 lines
119 B
Rust

#![deny(invalid_doc_attributes)]
//~^ NOTE defined here
#![doc(x)]
//~^ ERROR unknown `doc` attribute `x`
fn main() {}