File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2,21 +2,21 @@ error[E0449]: unnecessary visibility qualifier
22 --> $DIR/E0449.rs:17:1
33 |
44LL | pub impl Bar {} //~ ERROR E0449
5- | ^^^ `pub` not needed here
5+ | ^^^ `pub` not permitted here because it's implied
66 |
77 = note: place qualifiers on individual impl items instead
88
99error[E0449]: unnecessary visibility qualifier
1010 --> $DIR/E0449.rs:19:1
1111 |
1212LL | pub impl Foo for Bar { //~ ERROR E0449
13- | ^^^ `pub` not needed here
13+ | ^^^ `pub` not permitted here because it's implied
1414
1515error[E0449]: unnecessary visibility qualifier
1616 --> $DIR/E0449.rs:20:5
1717 |
1818LL | pub fn foo() {} //~ ERROR E0449
19- | ^^^ `pub` not needed here
19+ | ^^^ `pub` not permitted here because it's implied
2020
2121error: aborting due to 3 previous errors
2222
You can’t perform that action at this time.
0 commit comments