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