summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/trait-pub-method.stderr
blob: 2bf1d468a8535af19f65ead8f19a754f88d812d0 (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 previous error

For more information about this error, try `rustc --explain E0449`.