File tree 1 file changed +3
-3
lines changed
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
2
2
--> $DIR/E0449.rs:17:1
3
3
|
4
4
LL | pub impl Bar {} //~ ERROR E0449
5
- | ^^^ `pub` not needed here
5
+ | ^^^ `pub` not permitted here because it's implied
6
6
|
7
7
= note: place qualifiers on individual impl items instead
8
8
9
9
error[E0449]: unnecessary visibility qualifier
10
10
--> $DIR/E0449.rs:19:1
11
11
|
12
12
LL | pub impl Foo for Bar { //~ ERROR E0449
13
- | ^^^ `pub` not needed here
13
+ | ^^^ `pub` not permitted here because it's implied
14
14
15
15
error[E0449]: unnecessary visibility qualifier
16
16
--> $DIR/E0449.rs:20:5
17
17
|
18
18
LL | pub fn foo() {} //~ ERROR E0449
19
- | ^^^ `pub` not needed here
19
+ | ^^^ `pub` not permitted here because it's implied
20
20
21
21
error: aborting due to 3 previous errors
22
22
You can’t perform that action at this time.
0 commit comments