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