@@ -365,11 +365,11 @@ LL | #[cfg(FALSE)] fn e() { match 0 { 0..=#[attr] 10 => () } }
365365 |
366366 = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
367367
368- error: expected one of `,`, ` =>`, `if`, `|`, or `} `, found `#`
368+ error: expected one of `=>`, `if`, or `| `, found `#`
369369 --> $DIR/attr-stmt-expr-attr-bad.rs:85:38
370370 |
371371LL | #[cfg(FALSE)] fn e() { match 0 { 0..=#[attr] 10 => () } }
372- | ^ expected one of `,`, ` =>`, `if`, `|`, or `} `
372+ | ^ expected one of `=>`, `if`, or `| `
373373
374374error[E0586]: inclusive range with no end
375375 --> $DIR/attr-stmt-expr-attr-bad.rs:88:35
@@ -379,11 +379,11 @@ LL | #[cfg(FALSE)] fn e() { match 0 { 0..=#[attr] -10 => () } }
379379 |
380380 = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
381381
382- error: expected one of `,`, ` =>`, `if`, `|`, or `} `, found `#`
382+ error: expected one of `=>`, `if`, or `| `, found `#`
383383 --> $DIR/attr-stmt-expr-attr-bad.rs:88:38
384384 |
385385LL | #[cfg(FALSE)] fn e() { match 0 { 0..=#[attr] -10 => () } }
386- | ^ expected one of `,`, ` =>`, `if`, `|`, or `} `
386+ | ^ expected one of `=>`, `if`, or `| `
387387
388388error: unexpected token: `#`
389389 --> $DIR/attr-stmt-expr-attr-bad.rs:91:39
@@ -399,11 +399,11 @@ LL | #[cfg(FALSE)] fn e() { match 0 { 0..=#[attr] FOO => () } }
399399 |
400400 = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
401401
402- error: expected one of `,`, ` =>`, `if`, `|`, or `} `, found `#`
402+ error: expected one of `=>`, `if`, or `| `, found `#`
403403 --> $DIR/attr-stmt-expr-attr-bad.rs:93:38
404404 |
405405LL | #[cfg(FALSE)] fn e() { match 0 { 0..=#[attr] FOO => () } }
406- | ^ expected one of `,`, ` =>`, `if`, `|`, or `} `
406+ | ^ expected one of `=>`, `if`, or `| `
407407
408408error: unexpected token: `#`
409409 --> $DIR/attr-stmt-expr-attr-bad.rs:97:34
0 commit comments