mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
9 lines
352 B
Rust
9 lines
352 B
Rust
// The raw_pointer_derived lint was removed, but is now reported by
|
|
// the renamed_and_removed_lints lint, which means it's a warning by
|
|
// default, and allowed in cargo dependency builds.
|
|
// cc #30346
|
|
|
|
#[deny(raw_pointer_derive)] //~ WARN `raw_pointer_derive` has been removed
|
|
#[deny(unused_variables)]
|
|
fn main() { let unused = (); } //~ ERROR unused
|