6 const FOO: Foo = Foo { x: 0 };
12 //~^ ERROR must be annotated with `#[derive(PartialEq, Eq)]`
19 //~^ WARNING floating-point types cannot be used in patterns
20 //~| WARNING will become a hard error in a future release
21 //~| WARNING floating-point types cannot be used in patterns
22 //~| WARNING this was previously accepted by the compiler but is being phased out