rust/tests/ui/parser/trait-pub-assoc-const.rs

7 lines
112 B
Rust

trait Foo {
pub const Foo: u32;
//~^ ERROR visibility qualifiers are not permitted here
}
fn main() {}