2021-01-17 19:23:25 +00:00
|
|
|
warning: lint `raw_pointer_derive` has been removed: using derive with raw pointers is ok
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
|
= note: requested on the command line with `-D raw_pointer_derive`
|
2023-08-28 19:28:51 +00:00
|
|
|
= note: `#[warn(renamed_and_removed_lints)]` on by default
|
2018-08-08 12:28:26 +00:00
|
|
|
|
2021-01-17 19:23:25 +00:00
|
|
|
warning: lint `raw_pointer_derive` has been removed: using derive with raw pointers is ok
|
2020-01-08 17:02:10 +00:00
|
|
|
|
|
|
|
|
= note: requested on the command line with `-D raw_pointer_derive`
|
2023-10-04 18:34:50 +00:00
|
|
|
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
|
2020-01-08 17:02:10 +00:00
|
|
|
|
2021-01-17 19:23:25 +00:00
|
|
|
warning: lint `raw_pointer_derive` has been removed: using derive with raw pointers is ok
|
2020-01-08 17:02:10 +00:00
|
|
|
|
|
|
|
|
= note: requested on the command line with `-D raw_pointer_derive`
|
2023-10-04 18:34:50 +00:00
|
|
|
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
|
2020-01-08 17:02:10 +00:00
|
|
|
|
2018-08-08 12:28:26 +00:00
|
|
|
error: unused variable: `unused`
|
2023-08-28 19:28:51 +00:00
|
|
|
--> $DIR/lint-removed-cmdline.rs:13:17
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
|
LL | fn main() { let unused = (); }
|
2020-03-23 08:02:46 +00:00
|
|
|
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_unused`
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
2020-01-22 23:57:38 +00:00
|
|
|
note: the lint level is defined here
|
2023-08-28 19:28:51 +00:00
|
|
|
--> $DIR/lint-removed-cmdline.rs:12:8
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
|
LL | #[deny(warnings)]
|
|
|
|
| ^^^^^^^^
|
2019-07-16 20:17:38 +00:00
|
|
|
= note: `#[deny(unused_variables)]` implied by `#[deny(warnings)]`
|
2018-08-08 12:28:26 +00:00
|
|
|
|
2024-07-04 09:55:42 +00:00
|
|
|
error: aborting due to 1 previous error; 3 warnings emitted
|
2018-08-08 12:28:26 +00:00
|
|
|
|