diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/issues/issue-77218/issue-77218.fixed | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/ui/issues/issue-77218/issue-77218.fixed b/src/test/ui/issues/issue-77218/issue-77218.fixed new file mode 100644 index 000000000..4907b43b9 --- /dev/null +++ b/src/test/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 +} |