1 error[E0308]: mismatched types
2 --> $DIR/issue-32122-1.rs:16:24
4 LL | let _: *const u8 = &a;
7 | | expected `u8`, found struct `Foo`
8 | | help: consider dereferencing: `&*a`
11 = note: expected raw pointer `*const u8`
12 found reference `&Foo`
14 error: aborting due to previous error
16 For more information about this error, try `rustc --explain E0308`.