]>
Commit | Line | Data |
---|---|---|
353b0b11 | 1 | error[E0449]: visibility qualifiers are not permitted here |
0731742a | 2 | --> $DIR/trait-pub-method.rs:2:5 |
0bf4aa26 | 3 | | |
0bf4aa26 | 4 | LL | pub fn foo(); |
353b0b11 FG |
5 | | ^^^ |
6 | | | |
7 | = note: trait items always share the visibility of their trait | |
0bf4aa26 | 8 | |
4b012472 | 9 | error: aborting due to 1 previous error |
0bf4aa26 | 10 | |
60c5eb7d | 11 | For more information about this error, try `rustc --explain E0449`. |