1 2 3 4 5 6
// compile-flags: -F deprecated #[allow(deprecated)] //~ ERROR allow(deprecated) incompatible //~| ERROR allow(deprecated) incompatible fn main() { }