rust-clippy/tests/ui/unknown_attribute.rs

6 lines
158 B
Rust

//@compile-flags: -Zdeduplicate-diagnostics=yes
#[clippy::unknown]
//~^ ERROR: usage of unknown attribute
#[clippy::cognitive_complexity = "1"]
fn main() {}