3 // This tests that the `help: consider dereferencing the boxed value` suggestion isn't made
4 // because the box doesn't deref to the type of the arm.
12 let x = Box::new(3u32);
14 S::A { a } | S::B { b: a } => a,
15 //~^ ERROR mismatched types [E0308]
16 //~^^ ERROR mismatched types [E0308]