]> git.proxmox.com Git - rustc.git/blob - src/test/ui/issues/issue-25826.stderr
New upstream version 1.46.0~beta.2+dfsg1
[rustc.git] / src / test / ui / issues / issue-25826.stderr
1 error: pointers cannot be reliably compared during const eval.
2 --> $DIR/issue-25826.rs:3:30
3 |
4 LL | const A: bool = unsafe { id::<u8> as *const () < id::<u16> as *const () };
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6 |
7 = note: see issue #53020 <https://github.com/rust-lang/rust/issues/53020> for more information
8
9 error: aborting due to previous error
10