]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issue-25826.stderr
Account for --remap-path-prefix in save-analysis
[rust.git] / src / test / ui / issue-25826.stderr
1 error[E0395]: raw pointers cannot be compared in constants
2   --> $DIR/issue-25826.rs:13:21
3    |
4 LL |     const A: bool = id::<u8> as *const () < id::<u16> as *const ();
5    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ comparing raw pointers in static
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0395`.