fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
691 B27 linesraw
1error[E0449]: visibility qualifiers are not permitted here
2  --> $DIR/E0449.rs:7:1
3   |
4LL | pub impl Bar {}
5   | ^^^
6   |
7   = note: place qualifiers on individual impl items instead
8
9error[E0449]: visibility qualifiers are not permitted here
10  --> $DIR/E0449.rs:9:1
11   |
12LL | pub impl Foo for Bar {
13   | ^^^
14   |
15   = note: trait items always share the visibility of their trait
16
17error[E0449]: visibility qualifiers are not permitted here
18  --> $DIR/E0449.rs:10:5
19   |
20LL |     pub fn foo() {}
21   |     ^^^
22   |
23   = note: trait items always share the visibility of their trait
24
25error: aborting due to 3 previous errors
26
27For more information about this error, try `rustc --explain E0449`.