fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0449]: visibility qualifiers are not permitted here 2 --> $DIR/priv-in-bad-locations.rs:1:1 3 | 4LL | pub extern "C" { 5 | ^^^ 6 | 7 = note: place qualifiers on individual foreign items instead 8 9error[E0449]: visibility qualifiers are not permitted here 10 --> $DIR/priv-in-bad-locations.rs:11:1 11 | 12LL | pub impl B {} 13 | ^^^ 14 | 15 = note: place qualifiers on individual impl items instead 16 17error[E0449]: visibility qualifiers are not permitted here 18 --> $DIR/priv-in-bad-locations.rs:13:1 19 | 20LL | pub impl A for B { 21 | ^^^ 22 | 23 = note: trait items always share the visibility of their trait 24 25error[E0449]: visibility qualifiers are not permitted here 26 --> $DIR/priv-in-bad-locations.rs:14:5 27 | 28LL | pub fn foo(&self) {} 29 | ^^^ 30 | 31 = note: trait items always share the visibility of their trait 32 33error: aborting due to 4 previous errors 34 35For more information about this error, try `rustc --explain E0449`.