rust/src/test/ui/parser/pat-lt-bracket-6.rs

4 lines
98 B
Rust

fn main() {
let Test(&desc[..]) = x; //~ ERROR: expected one of `)`, `,`, or `@`, found `[`
}