2023-04-16 06:12:37 -05:00
|
|
|
error: pointers cannot be reliably compared during const eval
|
|
|
|
--> $DIR/issue-25826.rs:3:30
|
2017-12-10 13:47:55 -06:00
|
|
|
|
|
2018-12-07 11:26:46 -06:00
|
|
|
LL | const A: bool = unsafe { id::<u8> as *const () < id::<u16> as *const () };
|
2023-04-16 06:12:37 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2018-08-03 04:12:10 -05:00
|
|
|
|
|
2023-04-16 06:12:37 -05:00
|
|
|
= note: see issue #53020 <https://github.com/rust-lang/rust/issues/53020> for more information
|
2017-12-10 13:47:55 -06:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|