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

fn main() {}