mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 15:11:30 +00:00
9 lines
442 B
Rust
9 lines
442 B
Rust
#[warn(unstable_as_slice)]
|
|
//~^ ERROR: lint `unstable_as_slice` has been removed: `Vec::as_slice` has been stabilized
|
|
//~| NOTE: `-D renamed-and-removed-lints` implied by `-D warnings`
|
|
#[warn(unstable_as_mut_slice)]
|
|
//~^ ERROR: lint `unstable_as_mut_slice` has been removed: `Vec::as_mut_slice` has been st
|
|
#[warn(misaligned_transmute)]
|
|
//~^ ERROR: lint `misaligned_transmute` has been removed: this lint has been split into ca
|
|
|
|
fn main() {}
|