fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

1.43.0
651 B23 linesraw
1error[E0449]: unnecessary visibility qualifier
2  --> $DIR/E0449.rs:7:1
3   |
4LL | pub impl Bar {}
5   | ^^^ `pub` not permitted here because it's implied
6   |
7   = note: place qualifiers on individual impl items instead
8
9error[E0449]: unnecessary visibility qualifier
10  --> $DIR/E0449.rs:9:1
11   |
12LL | pub impl Foo for Bar {
13   | ^^^ `pub` not permitted here because it's implied
14
15error[E0449]: unnecessary visibility qualifier
16  --> $DIR/E0449.rs:10:5
17   |
18LL |     pub fn foo() {}
19   |     ^^^ `pub` not permitted here because it's implied
20
21error: aborting due to 3 previous errors
22
23For more information about this error, try `rustc --explain E0449`.