mirror of https://github.com/rust-lang/rust.git
8 lines
143 B
Rust
8 lines
143 B
Rust
|
#![forbid(deprecated)]
|
||
|
|
||
|
#[allow(deprecated)]
|
||
|
//~^ ERROR allow(deprecated) incompatible
|
||
|
//~| ERROR allow(deprecated) incompatible
|
||
|
fn main() {
|
||
|
}
|