diff options
| author | Urgau <urgau@numericable.fr> | 2024-12-19 22:33:49 +0100 |
|---|---|---|
| committer | Urgau <urgau@numericable.fr> | 2025-06-12 07:35:05 +0200 |
| commit | 14b3e630129a3c89020e79bf7f0f1e60f6a6e93a (patch) | |
| tree | 5bc48a2985fa044ea507c34b61999352f62752ad /tests/ui/nullable-pointer-iotareduction.rs | |
| parent | fafc0f249f8d6c2eabd2c75dca536f04ddead79f (diff) | |
| download | rust-14b3e630129a3c89020e79bf7f0f1e60f6a6e93a.tar.gz rust-14b3e630129a3c89020e79bf7f0f1e60f6a6e93a.zip | |
Allow `unpredictable_function_pointer_comparisons` lint in more places
Diffstat (limited to 'tests/ui/nullable-pointer-iotareduction.rs')
| -rw-r--r-- | tests/ui/nullable-pointer-iotareduction.rs | 2 |
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 { |
