about summary refs log tree commit diff
path: root/tests/ui/consts/min_const_fn/cmp_fn_pointers.stderr
blob: bfaccf1db1ca46969ca5710a4d276b5c861a9241 (plain)
1
2
3
4
5
6
7
8
9
10
error: pointers cannot be reliably compared during const eval
  --> $DIR/cmp_fn_pointers.rs:2:14
   |
LL |     unsafe { x == y }
   |              ^^^^^^
   |
   = note: see issue #53020 <https://github.com/rust-lang/rust/issues/53020> for more information

error: aborting due to 1 previous error