We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cec48eb commit 31844caCopy full SHA for 31844ca
1 file changed
tests/incremental/cache-lint-expectation.rs
@@ -0,0 +1,8 @@
1
+// Regression test for #154878
2
+//@ revisions: cpass1 cpass2
3
+
4
+pub fn main() {
5
+ let x = 42.0;
6
+ #[expect(invalid_nan_comparisons)]
7
+ let _b = x == f32::NAN;
8
+}
0 commit comments