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

16 lines
399 B
Plaintext
Raw Normal View History

error[E0449]: unnecessary visibility qualifier
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,
| ^^^ `pub` not permitted here because it's implied
2018-07-15 21:11:54 +00:00
error[E0449]: unnecessary visibility qualifier
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
| ^^^^^^^^^^
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`.