1 error[E0658]: comparing raw pointers inside constant
2 --> $DIR/issue-25826.rs:3:30
4 LL | const A: bool = unsafe { id::<u8> as *const () < id::<u16> as *const () };
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7 = note: for more information, see https://github.com/rust-lang/rust/issues/53020
8 = help: add #![feature(const_compare_raw_pointers)] to the crate attributes to enable
10 error: aborting due to previous error
12 For more information about this error, try `rustc --explain E0658`.