diff options
Diffstat (limited to 'tests/ui/issues/issue-77218/issue-77218.fixed')
-rw-r--r-- | tests/ui/issues/issue-77218/issue-77218.fixed | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/ui/issues/issue-77218/issue-77218.fixed b/tests/ui/issues/issue-77218/issue-77218.fixed new file mode 100644 index 000000000..4907b43b9 --- /dev/null +++ b/tests/ui/issues/issue-77218/issue-77218.fixed @@ -0,0 +1,5 @@ +// run-rustfix +fn main() { + let value = [7u8]; + while let Some(0) = value.get(0) {} //~ ERROR invalid left-hand side of assignment +} |