]>
Commit | Line | Data |
---|---|---|
416331ca XL |
1 | error: 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 | | | |
4 | LL | WRAP_DIRECT_PARAM => { panic!("WRAP_DIRECT_PARAM matched itself"); } | |
5 | | ^^^^^^^^^^^^^^^^^ | |
6 | ||
7 | error: aborting due to previous error | |
8 |