blob: b94c14fac4e1ce84a4341ad471c3d39fc2699817 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#![feature(staged_api)]
//~^ ERROR module has missing stability attribute
pub trait Trait {
//~^ ERROR trait has missing stability attribute
const X: u32;
//~^ ERROR associated constant has missing stability attribute
}
impl Trait for u8 {
//~^ ERROR implementation has missing stability attribute
pub(self) const X: u32 = 3;
//~^ ERROR visibility qualifiers are not permitted here [E0449]
}
fn main() {}
|