1 error[E0449]: unnecessary visibility qualifier
4 17 | pub impl Bar {} //~ ERROR E0449
5 | ^^^^^^^^^^^^^^^ `pub` not needed here
7 = note: place qualifiers on individual impl items instead
9 error[E0449]: unnecessary visibility qualifier
10 --> $DIR/E0449.rs:19:1
12 19 | / pub impl Foo for Bar { //~ ERROR E0449
13 20 | | pub fn foo() {} //~ ERROR E0449
15 | |_^ `pub` not needed here
17 error[E0449]: unnecessary visibility qualifier
18 --> $DIR/E0449.rs:20:5
20 20 | pub fn foo() {} //~ ERROR E0449
21 | ^^^^^^^^^^^^^^^ `pub` not needed here
23 error: aborting due to 3 previous errors