rust/tests/ui/parser/trait-pub-assoc-ty.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
279 B
Plaintext
Raw Normal View History

error[E0449]: unnecessary visibility qualifier
--> $DIR/trait-pub-assoc-ty.rs:2:5
2018-10-20 15:36:17 -05:00
|
LL | pub type Foo;
| ^^^ `pub` not permitted here because it's implied
2018-10-20 15:36:17 -05:00
error: aborting due to previous error
For more information about this error, try `rustc --explain E0449`.