summaryrefslogtreecommitdiffstats
path: root/src/test/ui/generator/unresolved-ct-var.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/generator/unresolved-ct-var.rs')
-rw-r--r--src/test/ui/generator/unresolved-ct-var.rs14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/test/ui/generator/unresolved-ct-var.rs b/src/test/ui/generator/unresolved-ct-var.rs
deleted file mode 100644
index 0a1570fc2..000000000
--- a/src/test/ui/generator/unresolved-ct-var.rs
+++ /dev/null
@@ -1,14 +0,0 @@
-// incremental
-// edition:2021
-
-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
- };
-}