about summary refs log tree commit diff
path: root/tests/ui/nullable-pointer-iotareduction.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/nullable-pointer-iotareduction.rs')
-rw-r--r--tests/ui/nullable-pointer-iotareduction.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ui/nullable-pointer-iotareduction.rs b/tests/ui/nullable-pointer-iotareduction.rs
index fa837dab51b..1b73164c9fc 100644
--- a/tests/ui/nullable-pointer-iotareduction.rs
+++ b/tests/ui/nullable-pointer-iotareduction.rs
@@ -8,6 +8,8 @@
 // trying to get assert failure messages that at least identify which case
 // failed.
 
+#![allow(unpredictable_function_pointer_comparisons)]
+
 enum E<T> { Thing(isize, T), #[allow(dead_code)] Nothing((), ((), ()), [i8; 0]) }
 impl<T> E<T> {
     fn is_none(&self) -> bool {