rust/tests/ui/lint/lint-renamed-cmdline.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
1.3 KiB
Plaintext
Raw Normal View History

2018-08-08 12:28:26 +00:00
warning: lint `bare_trait_object` has been renamed to `bare_trait_objects`
|
= help: use the new name `bare_trait_objects`
2018-08-08 12:28:26 +00:00
= note: requested on the command line with `-D bare_trait_object`
= note: `#[warn(renamed_and_removed_lints)]` on by default
2018-08-08 12:28:26 +00:00
2020-01-08 17:02:10 +00:00
warning: lint `bare_trait_object` has been renamed to `bare_trait_objects`
|
= help: use the new name `bare_trait_objects`
2020-01-08 17:02:10 +00:00
= note: requested on the command line with `-D bare_trait_object`
2023-10-04 18:34:50 +00:00
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
2020-01-08 17:02:10 +00:00
warning: lint `bare_trait_object` has been renamed to `bare_trait_objects`
|
= help: use the new name `bare_trait_objects`
2020-01-08 17:02:10 +00:00
= note: requested on the command line with `-D bare_trait_object`
2023-10-04 18:34:50 +00:00
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
2020-01-08 17:02:10 +00:00
2018-08-08 12:28:26 +00:00
error: unused variable: `unused`
--> $DIR/lint-renamed-cmdline.rs:9:17
2018-08-08 12:28:26 +00:00
|
LL | fn main() { let unused = (); }
2020-03-23 08:02:46 +00:00
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_unused`
2018-08-08 12:28:26 +00:00
|
2020-01-22 23:57:38 +00:00
note: the lint level is defined here
--> $DIR/lint-renamed-cmdline.rs:8:8
2018-08-08 12:28:26 +00:00
|
LL | #[deny(unused)]
| ^^^^^^
= note: `#[deny(unused_variables)]` implied by `#[deny(unused)]`
2018-08-08 12:28:26 +00:00
error: aborting due to 1 previous error; 3 warnings emitted
2018-08-08 12:28:26 +00:00