summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/trait-pub-assoc-const.rs
blob: 219ffa309c25401f434a93cb6f1660ccc58c20a9 (plain)
1
2
3
4
5
6
trait Foo {
    pub const Foo: u32;
    //~^ ERROR unnecessary visibility qualifier
}

fn main() {}