Skip to content

Commit

Permalink
rust-lang#49133 - Reworded the Error message: "pub not needed here"…
Browse files Browse the repository at this point in the history
… message
  • Loading branch information
dileepbapat committed Mar 19, 2018
1 parent 3799866 commit a8f59aa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/test/ui/error-codes/E0449.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@ error[E0449]: unnecessary visibility qualifier
--> $DIR/E0449.rs:17:1
|
LL | pub impl Bar {} //~ ERROR E0449
| ^^^ `pub` not needed here
| ^^^ `pub` not permitted here because it's implied
|
= note: place qualifiers on individual impl items instead

error[E0449]: unnecessary visibility qualifier
--> $DIR/E0449.rs:19:1
|
LL | pub impl Foo for Bar { //~ ERROR E0449
| ^^^ `pub` not needed here
| ^^^ `pub` not permitted here because it's implied

error[E0449]: unnecessary visibility qualifier
--> $DIR/E0449.rs:20:5
|
LL | pub fn foo() {} //~ ERROR E0449
| ^^^ `pub` not needed here
| ^^^ `pub` not permitted here because it's implied

error: aborting due to 3 previous errors

Expand Down

0 comments on commit a8f59aa

Please sign in to comment.