1 2 3 4 5 6
trait Foo { pub const Foo: u32; //~^ ERROR visibility qualifiers are not permitted here } fn main() {}