about summary refs log tree commit diff
path: root/tests/ui/static/static-closures.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/static/static-closures.rs')
-rw-r--r--tests/ui/static/static-closures.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ui/static/static-closures.rs b/tests/ui/static/static-closures.rs
index 1bd518d6ffe..e836f1b85eb 100644
--- a/tests/ui/static/static-closures.rs
+++ b/tests/ui/static/static-closures.rs
@@ -1,4 +1,5 @@
 fn main() {
     static || {};
     //~^ ERROR closures cannot be static
+    //~| ERROR coroutine syntax is experimental
 }