diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/lint/lint-removed-allow.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/ui/lint/lint-removed-allow.rs b/src/test/ui/lint/lint-removed-allow.rs new file mode 100644 index 000000000..30ba4f02f --- /dev/null +++ b/src/test/ui/lint/lint-removed-allow.rs @@ -0,0 +1,8 @@ +// No warnings about removed lint when +// allow(renamed_and_removed_lints) + +#![allow(renamed_and_removed_lints)] + +#[deny(raw_pointer_derive)] +#[deny(unused_variables)] +fn main() { let unused = (); } //~ ERROR unused |