diff options
Diffstat (limited to '')
-rw-r--r-- | tests/ui/inference/issue-113354.fixed | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/ui/inference/issue-113354.fixed b/tests/ui/inference/issue-113354.fixed new file mode 100644 index 000000000..804db985a --- /dev/null +++ b/tests/ui/inference/issue-113354.fixed @@ -0,0 +1,4 @@ +//run-rustfix +fn main() { + let _ = || { while let Some(_) = Some(1) { } }; //~ ERROR mismatched types +} |