mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 22:01:37 +00:00
fix: Fix pat fragment handling in 2021 edition
This commit is contained in:
parent
5750d81e30
commit
d1ca505525
8 changed files with 80 additions and 23 deletions
|
@ -66,6 +66,10 @@ pub(crate) mod entry {
|
|||
patterns::pattern_single(p);
|
||||
}
|
||||
|
||||
pub(crate) fn pat_top(p: &mut Parser<'_>) {
|
||||
patterns::pattern_top(p);
|
||||
}
|
||||
|
||||
pub(crate) fn ty(p: &mut Parser<'_>) {
|
||||
types::type_(p);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue