2019-08-12 00:28:07 -05:00
|
|
|
#[warn(unstable_as_slice)]
|
2023-08-24 14:32:12 -05:00
|
|
|
//~^ ERROR: lint `unstable_as_slice` has been removed: `Vec::as_slice` has been stabilized
|
|
|
|
//~| NOTE: `-D renamed-and-removed-lints` implied by `-D warnings`
|
2019-08-12 00:28:07 -05:00
|
|
|
#[warn(unstable_as_mut_slice)]
|
2023-08-24 14:32:12 -05:00
|
|
|
//~^ ERROR: lint `unstable_as_mut_slice` has been removed: `Vec::as_mut_slice` has been st
|
2019-08-12 00:28:07 -05:00
|
|
|
#[warn(misaligned_transmute)]
|
2023-08-24 14:32:12 -05:00
|
|
|
//~^ ERROR: lint `misaligned_transmute` has been removed: this lint has been split into ca
|
2018-04-11 04:50:04 -05:00
|
|
|
|
2016-03-24 13:25:59 -05:00
|
|
|
fn main() {}
|