1
Fork 0

Allow fn pointers comparisons lint in UI tests

This commit is contained in:
Urgau 2023-12-10 15:51:06 +01:00
parent 5e34c2e43c
commit 8ce63576bd
11 changed files with 23 additions and 0 deletions

View file

@ -1,6 +1,8 @@
//@ compile-flags: -C opt-level=3
//@ run-pass
#![allow(unpredictable_function_pointer_comparisons)]
fn foo(_i: i32) -> i32 {
1
}