diff options
Diffstat (limited to 'src/test/ui/borrowck/issue-41962.rs')
-rw-r--r-- | src/test/ui/borrowck/issue-41962.rs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/test/ui/borrowck/issue-41962.rs b/src/test/ui/borrowck/issue-41962.rs deleted file mode 100644 index 38a01b138..000000000 --- a/src/test/ui/borrowck/issue-41962.rs +++ /dev/null @@ -1,9 +0,0 @@ -pub fn main(){ - let maybe = Some(vec![true, true]); - - loop { - if let Some(thing) = maybe { - } - //~^^ ERROR use of moved value [E0382] - } -} |