2023-08-30 08:19:53 -05:00
|
|
|
// The raw_pointer_derived lint warns about its removal
|
|
|
|
// cc #30346
|
|
|
|
|
|
|
|
// compile-flags:-D renamed-and-removed-lints -D raw_pointer_derive
|
|
|
|
|
|
|
|
// error-pattern:lint `raw_pointer_derive` has been removed
|
|
|
|
// error-pattern:requested on the command line with `-D raw_pointer_derive`
|
2023-08-28 14:28:51 -05:00
|
|
|
// error-pattern:requested on the command line with `-D renamed-and-removed-lints`
|
2023-08-30 08:19:53 -05:00
|
|
|
|
|
|
|
#![warn(unused)]
|
|
|
|
|
|
|
|
#[deny(warnings)]
|
|
|
|
fn main() { let unused = (); }
|