]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/suggestions/if-let-typo.rs
4 if Some(x
) = foo {}
//~ ERROR cannot find value `x` in this scope
5 if Some(foo
) = bar {}
//~ ERROR mismatched types
6 if 3 = foo {}
//~ ERROR mismatched types
7 if Some(3) = foo {}
//~ ERROR mismatched types