diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/lint/lint-renamed.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/ui/lint/lint-renamed.rs b/src/test/ui/lint/lint-renamed.rs new file mode 100644 index 000000000..ca3299430 --- /dev/null +++ b/src/test/ui/lint/lint-renamed.rs @@ -0,0 +1,4 @@ +#[deny(bare_trait_object)] +//~^ WARN lint `bare_trait_object` has been renamed to `bare_trait_objects` +#[deny(unused)] +fn main() { let unused = (); } //~ ERROR unused |