2020-04-28 22:41:34 -05:00
|
|
|
error[E0308]: mismatched types
|
|
|
|
--> $DIR/issue-32122-2.rs:27:24
|
|
|
|
|
|
|
|
|
LL | let _: *const u8 = &a;
|
|
|
|
| --------- ^^
|
|
|
|
| | |
|
|
|
|
| | expected `u8`, found struct `Emm`
|
2020-04-30 17:36:06 -05:00
|
|
|
| | help: consider dereferencing: `&***a`
|
2020-04-28 22:41:34 -05:00
|
|
|
| expected due to this
|
|
|
|
|
|
|
|
|
= note: expected raw pointer `*const u8`
|
|
|
|
found reference `&Emm`
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0308`.
|