]> git.proxmox.com Git - rustc.git/blame - src/test/ui/rfc-1445-restrict-constants-in-patterns/cant-hide-behind-direct-struct-param.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / rfc-1445-restrict-constants-in-patterns / cant-hide-behind-direct-struct-param.stderr
CommitLineData
416331ca
XL
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
1b1a35ee 7error: aborting due to previous error
416331ca 8