fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
406 B10 linesraw
1error: pointers cannot be reliably compared during const eval
2  --> $DIR/issue-25826.rs:3:30
3   |
4LL |     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
9error: aborting due to previous error
10