]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/consts/const_in_pattern/issue-78057.rs
1 #![deny(unreachable_patterns)]
8 const FOO
: Opaque
= Opaque(42);
13 //~^ ERROR must be annotated with `#[derive(PartialEq, Eq)]`
15 //~^ ERROR unreachable pattern