]> git.proxmox.com Git - rustc.git/blame - src/test/ui/inference/issue-103587.rs
Update unsuspicious file list
[rustc.git] / src / test / ui / inference / issue-103587.rs
CommitLineData
487cf647
FG
1fn main() {
2 let x = Some(123);
3
4 if let Some(_) == x {}
5 //~^ ERROR expected `=`, found `==`
6
7 if Some(_) = x {}
8 //~^ ERROR mismatched types
9
10 if None = x { }
11 //~^ ERROR mismatched types
12}