1 // check-pass 2 3 #![feature(let_chains)] //~ WARN the feature `let_chains` is incomplete 4 main()5 fn main() { 6 if true && let x = 1 { //~ WARN irrefutable `let` pattern 7 let _ = x; 8 } 9 } 10