]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0449.stderr
Rollup merge of #47846 - roblabla:bugfix-ocaml, r=kennytm
[rust.git] / src / test / ui / error-codes / E0449.stderr
1 error[E0449]: unnecessary visibility qualifier
2   --> $DIR/E0449.rs:17:1
3    |
4 17 | pub impl Bar {} //~ ERROR E0449
5    | ^^^^^^^^^^^^^^^ `pub` not needed here
6    |
7    = note: place qualifiers on individual impl items instead
8
9 error[E0449]: unnecessary visibility qualifier
10   --> $DIR/E0449.rs:19:1
11    |
12 19 | / pub impl Foo for Bar { //~ ERROR E0449
13 20 | |     pub fn foo() {} //~ ERROR E0449
14 21 | | }
15    | |_^ `pub` not needed here
16
17 error[E0449]: unnecessary visibility qualifier
18   --> $DIR/E0449.rs:20:5
19    |
20 20 |     pub fn foo() {} //~ ERROR E0449
21    |     ^^^^^^^^^^^^^^^ `pub` not needed here
22
23 error: aborting due to 3 previous errors
24