summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-28433.stderr
blob: 5fb8a89621c2d530cae324389e074e280db0192c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
error[E0449]: visibility qualifiers are not permitted here
  --> $DIR/issue-28433.rs:2:5
   |
LL |     pub Duck,
   |     ^^^
   |
   = note: enum variants and their fields always share the visibility of the enum they are in

error[E0449]: visibility qualifiers are not permitted here
  --> $DIR/issue-28433.rs:5:5
   |
LL |     pub(crate) Dove
   |     ^^^^^^^^^^
   |
   = note: enum variants and their fields always share the visibility of the enum they are in

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0449`.