diff options
| author | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2024-02-01 22:45:00 +0000 |
|---|---|---|
| committer | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2024-02-08 08:10:43 +0000 |
| commit | eab2adb6607d94fd0c70de93abf546ae9282afaa (patch) | |
| tree | db09af54e3ca25180b67a09018fe4ac604a3c98a /tests/ui/half-open-range-patterns/half-open-range-pats-inclusive-dotdotdot-bad-syntax.rs | |
| parent | e5461de39287fcec2179bb7051f65d987cdff270 (diff) | |
| download | rust-eab2adb6607d94fd0c70de93abf546ae9282afaa.tar.gz rust-eab2adb6607d94fd0c70de93abf546ae9282afaa.zip | |
Continue to borrowck even if there were previous errors
Diffstat (limited to 'tests/ui/half-open-range-patterns/half-open-range-pats-inclusive-dotdotdot-bad-syntax.rs')
| -rw-r--r-- | tests/ui/half-open-range-patterns/half-open-range-pats-inclusive-dotdotdot-bad-syntax.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ui/half-open-range-patterns/half-open-range-pats-inclusive-dotdotdot-bad-syntax.rs b/tests/ui/half-open-range-patterns/half-open-range-pats-inclusive-dotdotdot-bad-syntax.rs index 526a797e9d6..33506a5c444 100644 --- a/tests/ui/half-open-range-patterns/half-open-range-pats-inclusive-dotdotdot-bad-syntax.rs +++ b/tests/ui/half-open-range-patterns/half-open-range-pats-inclusive-dotdotdot-bad-syntax.rs @@ -23,6 +23,7 @@ fn syntax2() { macro_rules! mac { ($e:expr) => { let ...$e; //~ ERROR range-to patterns with `...` are not allowed + //~^ ERROR refutable pattern in local binding } } |
