diff options
Diffstat (limited to 'src/test/ui/inference/issue-103587.rs')
-rw-r--r-- | src/test/ui/inference/issue-103587.rs | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/test/ui/inference/issue-103587.rs b/src/test/ui/inference/issue-103587.rs deleted file mode 100644 index 11536f9f4..000000000 --- a/src/test/ui/inference/issue-103587.rs +++ /dev/null @@ -1,12 +0,0 @@ -fn main() { - let x = Some(123); - - if let Some(_) == x {} - //~^ ERROR expected `=`, found `==` - - if Some(_) = x {} - //~^ ERROR mismatched types - - if None = x { } - //~^ ERROR mismatched types -} |