mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 05:15:04 +00:00
parent
95671d53ea
commit
6a295fcd3b
1 changed files with 4 additions and 1 deletions
|
@ -126,7 +126,10 @@ fn pattern_single_r(p: &mut Parser<'_>, recovery_set: TokenSet) {
|
||||||
// ^
|
// ^
|
||||||
// `[0..]`
|
// `[0..]`
|
||||||
// ^
|
// ^
|
||||||
if matches!(p.current(), T![=] | T![,] | T![:] | T![')'] | T!['}'] | T![']']) {
|
if matches!(
|
||||||
|
p.current(),
|
||||||
|
T![=] | T![,] | T![:] | T![')'] | T!['}'] | T![']'] | T![if]
|
||||||
|
) {
|
||||||
// test half_open_range_pat
|
// test half_open_range_pat
|
||||||
// fn f() {
|
// fn f() {
|
||||||
// let 0 .. = 1u32;
|
// let 0 .. = 1u32;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue