Debian Codegraph @

debian/rust-vendor/zerocopy-derive/tests/ui/privacy.nightly.stderr

raw
1 warning: variants `A` and `B` are never constructed
2 --> $DIR/privacy.rs:80:9
3 |
4 79 | pub enum Enum {
5 | ---- variants in this enum
6 80 | A(u8, u16),
7 | ^
8 81 | B { a: u8, b: u16 },
9 | ^
10 |
11 = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
12
13 error: type `private::_::_::_::ẕb` is private
14 --> $DIR/privacy.rs:110:9
15 |
16 110 | _,
17 | ^ private type
18
19 error: type `private::_::_::_::ẕ1` is private
20 --> $DIR/privacy.rs:126:9
21 |
22 126 | _,
23 | ^ private type
24
25 error: type `private::_::_::_::ẕb` is private
26 --> $DIR/privacy.rs:138:49
27 |
28 138 | let _: <Union as zerocopy_renamed::HasField<_, _, { zerocopy_renamed::ident_id!(b) }>>:...
29 | ^ private type
30
31 error: aborting due to 3 previous errors; 1 warning emitted
32