summary refs log tree commit diff
path: root/src/test/ui/issue-25826.stderr
blob: fed9e8efa848755cba9cc6e208b72ae82e9ff530 (plain)
1
2
3
4
5
6
7
8
9
error[E0395]: raw pointers cannot be compared in constants
  --> $DIR/issue-25826.rs:13:21
   |
LL |     const A: bool = id::<u8> as *const () < id::<u16> as *const ();
   |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ comparing raw pointers in static

error: aborting due to previous error

For more information about this error, try `rustc --explain E0395`.