summaryrefslogtreecommitdiffstats
path: root/tests/ui/lint/lint-renamed-cmdline.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/lint/lint-renamed-cmdline.stderr')
-rw-r--r--tests/ui/lint/lint-renamed-cmdline.stderr8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/ui/lint/lint-renamed-cmdline.stderr b/tests/ui/lint/lint-renamed-cmdline.stderr
index 8dfd61ac9..a41284003 100644
--- a/tests/ui/lint/lint-renamed-cmdline.stderr
+++ b/tests/ui/lint/lint-renamed-cmdline.stderr
@@ -1,23 +1,27 @@
warning: lint `bare_trait_object` has been renamed to `bare_trait_objects`
|
+ = help: use the new name `bare_trait_objects`
= note: requested on the command line with `-D bare_trait_object`
+ = note: `#[warn(renamed_and_removed_lints)]` on by default
warning: lint `bare_trait_object` has been renamed to `bare_trait_objects`
|
+ = help: use the new name `bare_trait_objects`
= note: requested on the command line with `-D bare_trait_object`
warning: lint `bare_trait_object` has been renamed to `bare_trait_objects`
|
+ = help: use the new name `bare_trait_objects`
= note: requested on the command line with `-D bare_trait_object`
error: unused variable: `unused`
- --> $DIR/lint-renamed-cmdline.rs:8:17
+ --> $DIR/lint-renamed-cmdline.rs:9:17
|
LL | fn main() { let unused = (); }
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_unused`
|
note: the lint level is defined here
- --> $DIR/lint-renamed-cmdline.rs:7:8
+ --> $DIR/lint-renamed-cmdline.rs:8:8
|
LL | #[deny(unused)]
| ^^^^^^