rust/src/test/ui/lint/lint-removed-cmdline.stderr

20 lines
580 B
Plaintext
Raw Normal View History

2018-08-08 07:28:26 -05:00
warning: lint `raw_pointer_derive` has been removed: `using derive with raw pointers is ok`
|
= note: requested on the command line with `-D raw_pointer_derive`
error: unused variable: `unused`
--> $DIR/lint-removed-cmdline.rs:22:17
|
LL | fn main() { let unused = (); }
| ^^^^^^ help: consider using `_unused` instead
|
note: lint level defined here
--> $DIR/lint-removed-cmdline.rs:21:8
|
LL | #[deny(warnings)]
| ^^^^^^^^
= note: #[deny(unused_variables)] implied by #[deny(warnings)]
error: aborting due to previous error