blob: 59be19d88a018b449cff2d86e48f282c04aa392f [file] [log] [blame]
#![feature(staged_api)]
//~^ ERROR module has missing stability attribute
pub trait Trait {
//~^ ERROR trait has missing stability attribute
type X;
//~^ ERROR associated type has missing stability attribute
}
impl Trait for u8 {
//~^ ERROR implementation has missing stability attribute
pub(self) type X = Self;
//~^ ERROR visibility qualifiers are not permitted here [E0449]
}
fn main() {}