#![forbid(deprecated)] #[allow(deprecated)] //~^ ERROR allow(deprecated) incompatible fn main() { }