summary refs log tree commit diff
path: root/src/test/ui/issues/issue-25826.stderr
blob: 84d5aeef63a6fbf722da7a841c161d37041e037a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error[E0658]: comparing raw pointers inside constant
  --> $DIR/issue-25826.rs:3:30
   |
LL |     const A: bool = unsafe { id::<u8> as *const () < id::<u16> as *const () };
   |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: for more information, see https://github.com/rust-lang/rust/issues/53020
   = help: add `#![feature(const_compare_raw_pointers)]` to the crate attributes to enable

error: aborting due to previous error

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