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