mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
9 lines
207 B
Rust
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
|