blob: 86ccca41f379598491081ed21dbda114895c5b86 [file] [log] [blame] [edit]
#![feature(staged_api)]
//~^ ERROR module has missing stability attribute
pub trait Trait {
//~^ ERROR trait has missing stability attribute
fn fun() {}
//~^ ERROR associated function has missing stability attribute
}
impl Trait for u8 {
//~^ ERROR implementation has missing stability attribute
pub(self) fn fun() {}
//~^ ERROR visibility qualifiers are not permitted here [E0449]
}
fn main() {}