rust/tests/ui/lint/lint-renamed-allow.rs
2023-01-11 09:32:08 +00:00

9 lines
207 B
Rust

// No warnings about renamed lint when
// allow(renamed_and_removed_lints)
#![allow(renamed_and_removed_lints)]
#[deny(single_use_lifetime)]
#[deny(unused)]
fn main() { let unused = (); } //~ ERROR unused