]> git.proxmox.com Git - rustc.git/blame - src/test/ui/rfc1445/cant-hide-behind-direct-struct-param.stderr
New upstream version 1.38.0+dfsg1
[rustc.git] / src / test / ui / rfc1445 / 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
7error: aborting due to previous error
8