Allow fn pointers comparisons lint in UI tests
This commit is contained in:
parent
5e34c2e43c
commit
8ce63576bd
11 changed files with 23 additions and 0 deletions
|
@ -1,6 +1,8 @@
|
|||
//@ compile-flags: -C opt-level=3
|
||||
//@ run-pass
|
||||
|
||||
#![allow(unpredictable_function_pointer_comparisons)]
|
||||
|
||||
fn foo(_i: i32) -> i32 {
|
||||
1
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue