1 error[E0395]: raw pointers cannot be compared in constants
2 --> $DIR/issue-25826.rs:13:21
4 LL | const A: bool = id::<u8> as *const () < id::<u16> as *const ();
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ comparing raw pointers in static
7 error: aborting due to previous error
9 For more information about this error, try `rustc --explain E0395`.