mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-17 19:14:16 +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
|