20 lines
580 B
Plaintext
20 lines
580 B
Plaintext
|
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
|
||
|
|