mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 22:01:37 +00:00
Parse exclusive range pattern
This commit is contained in:
parent
b218009f46
commit
89a1439de3
5 changed files with 116 additions and 38 deletions
|
@ -33,8 +33,7 @@ fn stmt() {
|
|||
fn pat() {
|
||||
check(PrefixEntryPoint::Pat, "x y", "x");
|
||||
check(PrefixEntryPoint::Pat, "fn f() {}", "fn");
|
||||
// FIXME: This one is wrong, we should consume only one pattern.
|
||||
check(PrefixEntryPoint::Pat, ".. ..", ".. ..");
|
||||
check(PrefixEntryPoint::Pat, ".. ..", "..");
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue