]> git.lizzy.rs Git - rust.git/blob - src/test/ui/nll/issue-53807.rs
Auto merge of #105145 - Ayush1325:sequential-remote-server, r=Mark-Simulacrum
[rust.git] / src / test / ui / nll / issue-53807.rs
1 pub fn main(){
2     let maybe = Some(vec![true, true]);
3     loop {
4         if let Some(thing) = maybe {
5 //~^ ERROR use of moved value
6         }
7     }
8 }