blob: 32c5b801fda83dcf38b9811ad6d19fcc09bfa85f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
pub extern "C" { //~ ERROR visibility qualifiers are not permitted here
pub fn bar();
}
trait A {
fn foo(&self) {}
}
struct B;
pub impl B {} //~ ERROR visibility qualifiers are not permitted here
pub impl A for B { //~ ERROR visibility qualifiers are not permitted here
pub fn foo(&self) {} //~ ERROR visibility qualifiers are not permitted here
}
pub fn main() {}
|