summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/trait-pub-assoc-const.rs
blob: 7953e12ecdb8e4e55b525ecff204c1d51350e4d1 (plain)
1
2
3
4
5
6
trait Foo {
    pub const Foo: u32;
    //~^ ERROR visibility qualifiers are not permitted here
}

fn main() {}