summary refs log tree commit diff
path: root/src/test/ui/pattern/issue-82290.rs
blob: 67f0274fe7436e9b1acfe6ff9dec4144ea4bddd2 (plain)
1
2
3
4
5
6
7
#![feature(let_chains)] //~ WARN the feature `let_chains` is incomplete

fn main() {
    if true && let x = 1 { //~ ERROR `let` expressions are not supported here
        let _ = x;
    }
}