diff options
Diffstat (limited to 'src/test/ui/lint/issue-86600-lint-twice.rs')
-rw-r--r-- | src/test/ui/lint/issue-86600-lint-twice.rs | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/test/ui/lint/issue-86600-lint-twice.rs b/src/test/ui/lint/issue-86600-lint-twice.rs deleted file mode 100644 index 0e8a837d9..000000000 --- a/src/test/ui/lint/issue-86600-lint-twice.rs +++ /dev/null @@ -1,15 +0,0 @@ -// Regression test for #86600, where an instance of the -// `illegal_floating_point_literal_pattern` lint was issued twice. - -// check-pass - -fn main() { - let x = 42.0; - - match x { - 5.0 => {} - //~^ WARNING: floating-point types cannot be used in patterns - //~| WARNING: this was previously accepted by the compiler - _ => {} - } -} |