rust/tests/ui/issues/issue-28433.stderr

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

20 lines
629 B
Plaintext
Raw Normal View History

error[E0449]: visibility qualifiers are not permitted here
2019-05-31 20:50:04 +00:00
--> $DIR/issue-28433.rs:2:5
2018-07-15 21:11:54 +00:00
|
LL | pub Duck,
| ^^^ help: remove the qualifier
|
= note: enum variants and their fields always share the visibility of the enum they are in
2018-07-15 21:11:54 +00:00
error[E0449]: visibility qualifiers are not permitted here
2019-05-31 20:50:04 +00:00
--> $DIR/issue-28433.rs:5:5
2019-03-09 23:14:22 +00:00
|
LL | pub(crate) Dove
| ^^^^^^^^^^ help: remove the qualifier
|
= note: enum variants and their fields always share the visibility of the enum they are in
2019-03-09 23:14:22 +00:00
error: aborting due to 2 previous errors
2018-07-15 21:11:54 +00:00
For more information about this error, try `rustc --explain E0449`.