1 error[E0449]: unnecessary visibility qualifier
2 --> $DIR/trait-pub-assoc-const.rs:2:5
4 LL | pub const Foo: u32;
5 | ^^^ `pub` not permitted here because it's implied
7 error: aborting due to previous error
9 For more information about this error, try `rustc --explain E0449`.