fork/rust
git clone https://git.julia.blue/fork/rust
b8cedc00407
1.42.0
1error: to use a constant of type `NoDerive` in a pattern, `NoDerive` must be annotated with `#[derive(PartialEq, Eq)]` 2 --> $DIR/cant-hide-behind-direct-struct-param.rs:22:9 3 | 4LL | WRAP_DIRECT_PARAM => { panic!("WRAP_DIRECT_PARAM matched itself"); } 5 | ^^^^^^^^^^^^^^^^^ 6 7error: to use a constant of type `NoDerive` in a pattern, `NoDerive` must be annotated with `#[derive(PartialEq, Eq)]` 8 --> $DIR/cant-hide-behind-direct-struct-param.rs:22:9 9 | 10LL | WRAP_DIRECT_PARAM => { panic!("WRAP_DIRECT_PARAM matched itself"); } 11 | ^^^^^^^^^^^^^^^^^ 12 13error: aborting due to 2 previous errors 14