mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 18:53:39 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
23 lines
661 B
Plaintext
23 lines
661 B
Plaintext
warning: lint `raw_pointer_derive` has been removed: using derive with raw pointers is ok
|
|
--> $DIR/lint-removed.rs:6:8
|
|
|
|
|
LL | #[deny(raw_pointer_derive)]
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: `#[warn(renamed_and_removed_lints)]` on by default
|
|
|
|
error: unused variable: `unused`
|
|
--> $DIR/lint-removed.rs:8:17
|
|
|
|
|
LL | fn main() { let unused = (); }
|
|
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_unused`
|
|
|
|
|
note: the lint level is defined here
|
|
--> $DIR/lint-removed.rs:7:8
|
|
|
|
|
LL | #[deny(unused_variables)]
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 1 previous error; 1 warning emitted
|
|
|