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.

32 lines
1.1 KiB
Plaintext
Raw Normal View History

2018-08-08 07:28:26 -05:00
warning: lint `bare_trait_object` has been renamed to `bare_trait_objects`
|
= 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`
= 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`
|
= 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`
warning: lint `bare_trait_object` has been renamed to `bare_trait_objects`
|
= 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`
2018-08-08 07:28:26 -05:00
error: unused variable: `unused`
--> $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
--> $DIR/lint-renamed-cmdline.rs:8:8
2018-08-08 07:28:26 -05:00
|
LL | #[deny(unused)]
| ^^^^^^
= note: `#[deny(unused_variables)]` implied by `#[deny(unused)]`
2018-08-08 07:28:26 -05:00
error: aborting due to previous error; 3 warnings emitted
2018-08-08 07:28:26 -05:00