]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/rfc1445/match-forbidden-without-eq.rs
8 const FOO
: Foo
= Foo { x: 0 }
;
14 //~^ ERROR must be annotated with `#[derive(PartialEq, Eq)]`
21 //~^ WARNING floating-point types cannot be used in patterns
22 //~| WARNING will become a hard error in a future release
23 //~| WARNING floating-point types cannot be used in patterns
24 //~| WARNING this was previously accepted by the compiler but is being phased out