LL | None @ _ => {}
| ^^^^ cannot be named the same as a unit variant
|
- ::: $SRC_DIR/std/src/prelude/v1.rs:LL:COL
+ ::: $SRC_DIR/std/src/prelude/mod.rs:LL:COL
|
-LL | pub use crate::option::Option::{self, None, Some};
- | ---- the unit variant `None` is defined here
+LL | pub use super::v1::*;
+ | ------------ the unit variant `None` is defined here
error[E0530]: match bindings cannot shadow constants
--> $DIR/issue-27033.rs:7:9