1 error[E0530]: match bindings cannot shadow unit variants
2 --> $DIR/issue-27033.rs:3:9
5 | ^^^^ cannot be named the same as a unit variant
7 ::: $SRC_DIR/std/src/prelude/mod.rs:LL:COL
9 LL | pub use super::v1::*;
10 | ------------ the unit variant `None` is defined here
12 error[E0530]: match bindings cannot shadow constants
13 --> $DIR/issue-27033.rs:7:9
16 | ---------------- the constant `C` is defined here
19 | ^ cannot be named the same as a constant
21 error: aborting due to 2 previous errors
23 For more information about this error, try `rustc --explain E0530`.