summaryrefslogtreecommitdiffstats
path: root/tests/ui/pattern/issue-74954.rs
blob: 269ec3c7abe93c48e20c2d6ad33388749b1d355a (plain)
1
2
3
4
5
6
7
// check-pass

fn main() {
    if let Some([b'@', filename @ ..]) = Some(b"@abc123") {
        println!("filename {:?}", filename);
    }
}