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

error: aborting due to previous error