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

fn main() {}