mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +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
|