summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/recover-quantified-closure.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/parser/recover-quantified-closure.rs')
-rw-r--r--tests/ui/parser/recover-quantified-closure.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/parser/recover-quantified-closure.rs b/tests/ui/parser/recover-quantified-closure.rs
index df22f5e06..10af39b70 100644
--- a/tests/ui/parser/recover-quantified-closure.rs
+++ b/tests/ui/parser/recover-quantified-closure.rs
@@ -7,6 +7,6 @@ fn main() {
enum Foo { Bar }
fn foo(x: impl Iterator<Item = Foo>) {
for <Foo>::Bar in x {}
- //~^ ERROR expected one of `const`, `move`, `static`, `|`
+ //~^ ERROR expected one of `move`, `static`, `|`
//~^^ ERROR `for<...>` binders for closures are experimental
}