blob: ee8b6f7cb62ebc61b3988b4bfd7df89f02560987 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
error[E0449]: visibility qualifiers are not permitted here
--> $DIR/trait-pub-method.rs:2:5
|
LL | pub fn foo();
| ^^^
|
= note: trait items always share the visibility of their trait
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0449`.
|