about summary refs log tree commit diff
path: root/tests/ui/generator/unresolved-ct-var.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/generator/unresolved-ct-var.rs')
-rw-r--r--tests/ui/generator/unresolved-ct-var.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/ui/generator/unresolved-ct-var.rs b/tests/ui/generator/unresolved-ct-var.rs
index 0a1570fc239..0316385fba9 100644
--- a/tests/ui/generator/unresolved-ct-var.rs
+++ b/tests/ui/generator/unresolved-ct-var.rs
@@ -5,10 +5,5 @@ fn main() {
     let _ = async {
         let s = std::array::from_fn(|_| ()).await;
         //~^ ERROR `[(); _]` is not a future
-        //~| ERROR type inside `async` block must be known in this context
-        //~| ERROR type inside `async` block must be known in this context
-        //~| ERROR type inside `async` block must be known in this context
-        //~| ERROR type inside `async` block must be known in this context
-        //~| ERROR type inside `async` block must be known in this context
     };
 }