]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rfc-2497-if-let-chains/no-double-assigments.rs
Rollup merge of #105758 - Nilstrieb:typeck-results-mod, r=compiler-errors
[rust.git] / src / test / ui / rfc-2497-if-let-chains / no-double-assigments.rs
1 // check-pass
2
3 fn main() {
4     loop {
5         // [1][0] should leave top scope
6         if true && [1][0] == 1 && true {
7         }
8     }
9 }