2023-08-28 14:28:51 -05:00
|
|
|
error: lint `bare_trait_object` has been renamed to `bare_trait_objects`
|
2023-08-30 08:19:53 -05:00
|
|
|
|
|
2023-08-28 14:28:51 -05:00
|
|
|
= help: use the new name `bare_trait_objects`
|
2023-08-30 08:19:53 -05:00
|
|
|
= note: requested on the command line with `-D bare_trait_object`
|
2023-08-28 14:28:51 -05:00
|
|
|
= note: requested on the command line with `-D renamed-and-removed-lints`
|
2023-08-30 08:19:53 -05:00
|
|
|
|
2023-08-28 14:28:51 -05:00
|
|
|
error: lint `bare_trait_object` has been renamed to `bare_trait_objects`
|
2023-08-30 08:19:53 -05:00
|
|
|
|
|
2023-08-28 14:28:51 -05:00
|
|
|
= help: use the new name `bare_trait_objects`
|
2023-08-30 08:19:53 -05: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`
|
2023-08-30 08:19:53 -05:00
|
|
|
|
2023-08-28 14:28:51 -05:00
|
|
|
error: lint `bare_trait_object` has been renamed to `bare_trait_objects`
|
2023-08-30 08:19:53 -05:00
|
|
|
|
|
2023-08-28 14:28:51 -05:00
|
|
|
= help: use the new name `bare_trait_objects`
|
2023-08-30 08:19:53 -05: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`
|
2023-08-30 08:19:53 -05:00
|
|
|
|
|
|
|
error: unused variable: `unused`
|
2023-08-28 14:28:51 -05:00
|
|
|
--> $DIR/lint-renamed-cmdline-deny.rs:10:17
|
2023-08-30 08:19:53 -05:00
|
|
|
|
|
|
|
|
LL | fn main() { let unused = (); }
|
|
|
|
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_unused`
|
|
|
|
|
|
|
|
|
note: the lint level is defined here
|
2023-08-28 14:28:51 -05:00
|
|
|
--> $DIR/lint-renamed-cmdline-deny.rs:9:8
|
2023-08-30 08:19:53 -05:00
|
|
|
|
|
|
|
|
LL | #[deny(unused)]
|
|
|
|
| ^^^^^^
|
|
|
|
= note: `#[deny(unused_variables)]` implied by `#[deny(unused)]`
|
|
|
|
|
2023-08-28 14:28:51 -05:00
|
|
|
error: aborting due to 4 previous errors
|
2023-08-30 08:19:53 -05:00
|
|
|
|