]> git.lizzy.rs Git - rust.git/blob - src/test/ui/nll/issue-53807.rs
Rollup merge of #105216 - GuillaumeGomez:rm-unused-gui-test, r=notriddle
[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 }