1 error[E0004]: non-exhaustive patterns: `B` and `C` not covered
2 --> $DIR/non-exhaustive-defined-here.rs:32:11
17 | |_- `E` defined here
20 | ^^ patterns `B` and `C` not covered
22 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
24 error[E0005]: refutable pattern in local binding: `B` and `C` not covered
25 --> $DIR/non-exhaustive-defined-here.rs:36:9
40 | |_- `E` defined here
43 | ^^^^ patterns `B` and `C` not covered
45 error[E0004]: non-exhaustive patterns: `&B` and `&C` not covered
46 --> $DIR/non-exhaustive-defined-here.rs:40:11
61 | |_- `E` defined here
64 | ^ patterns `&B` and `&C` not covered
66 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
68 error[E0005]: refutable pattern in local binding: `&B` and `&C` not covered
69 --> $DIR/non-exhaustive-defined-here.rs:44:9
84 | |_- `E` defined here
87 | ^^^^ patterns `&B` and `&C` not covered
89 error[E0004]: non-exhaustive patterns: `&&mut &B` and `&&mut &C` not covered
90 --> $DIR/non-exhaustive-defined-here.rs:48:11
105 | |_- `E` defined here
108 | ^ patterns `&&mut &B` and `&&mut &C` not covered
110 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
112 error[E0005]: refutable pattern in local binding: `&&mut &B` and `&&mut &C` not covered
113 --> $DIR/non-exhaustive-defined-here.rs:52:9
128 | |_- `E` defined here
131 | ^^^^ patterns `&&mut &B` and `&&mut &C` not covered
133 error[E0004]: non-exhaustive patterns: `None` not covered
134 --> $DIR/non-exhaustive-defined-here.rs:65:11
144 | |_- `Opt` defined here
147 | ^ pattern `None` not covered
149 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
151 error[E0005]: refutable pattern in local binding: `None` not covered
152 --> $DIR/non-exhaustive-defined-here.rs:69:9
162 | |_- `Opt` defined here
164 LL | let Opt::Some(ref _x) = e;
165 | ^^^^^^^^^^^^^^^^^ pattern `None` not covered
167 error: aborting due to 8 previous errors
169 Some errors have detailed explanations: E0004, E0005.
170 For more information about an error, try `rustc --explain E0004`.