]> git.proxmox.com Git - rustc.git/blob - tests/ui/issues/issue-32122-2.stderr
New upstream version 1.76.0+dfsg1
[rustc.git] / tests / ui / issues / issue-32122-2.stderr
1 error[E0308]: mismatched types
2 --> $DIR/issue-32122-2.rs:27:24
3 |
4 LL | let _: *const u8 = &a;
5 | --------- ^^ expected `*const u8`, found `&Emm`
6 | |
7 | expected due to this
8 |
9 = note: expected raw pointer `*const u8`
10 found reference `&Emm`
11 help: consider dereferencing
12 |
13 LL | let _: *const u8 = &***a;
14 | +++
15
16 error: aborting due to 1 previous error
17
18 For more information about this error, try `rustc --explain E0308`.