summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/trait-pub-assoc-ty.stderr
blob: 7f6e7350ca7a2df0ee6f1de86e0306c93eb96875 (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0449]: visibility qualifiers are not permitted here
  --> $DIR/trait-pub-assoc-ty.rs:2:5
   |
LL |     pub type 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`.