]> git.lizzy.rs Git - rust.git/commit - src/tools/rust-analyzer
Rollup merge of #87160 - estebank:colon-recovery, r=nagisa
authorMatthias Krüger <matthias.krueger@famsik.de>
Wed, 1 Dec 2021 09:50:18 +0000 (10:50 +0100)
committerGitHub <noreply@github.com>
Wed, 1 Dec 2021 09:50:18 +0000 (10:50 +0100)
commite68e5d2391c1dc200bafc39276d321d1c68bdfcc
tree2d2fa3ed29af93b67ba718a41da7510958a1b2b3
parent2446a215954a99f9d33019fad7d415ef9c083502
parentc02710530c0005a30759e170be023cc167c6cd67
Rollup merge of #87160 - estebank:colon-recovery, r=nagisa

When recovering from a `:` in a pattern, use adequate AST pattern

If the suggestion to use `::` instead of `:` in the pattern isn't correct, a second resolution error will be emitted.