summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/bad-match.rs
blob: 04100d1701ddb8f94854115c4a67f32e1daf10ca (plain)
1
2
3
4
fn main() {
  let isize x = 5; //~ ERROR expected one of `:`, `;`, `=`, `@`, or `|`, found `x`
  match x;
}