os-rust/tests/ui/consts/min_const_fn/cmp_fn_pointers.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
299 B
Text
Raw Normal View History

2023-04-16 11:12:37 +00:00
error: pointers cannot be reliably compared during const eval
--> $DIR/cmp_fn_pointers.rs:2:14
2020-09-29 18:32:38 -07:00
|
LL | unsafe { x == y }
2023-04-16 11:12:37 +00:00
| ^^^^^^
2020-09-29 18:32:38 -07:00
|
2023-04-16 11:12:37 +00:00
= note: see issue #53020 <https://github.com/rust-lang/rust/issues/53020> for more information
2020-09-29 18:32:38 -07:00
error: aborting due to 1 previous error
2018-10-05 10:17:16 +02:00