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