diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2023-05-07 18:38:52 +0000 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2023-09-23 13:34:07 +0000 |
| commit | a626caaad97b7f8733b8c9bd1fe9662cfc1e3ec1 (patch) | |
| tree | 5dba1769b61e7fbf1be8ee5c1fa52878d85f30e7 /tests/ui/async-await/async-error-span.rs | |
| parent | ff032043653e7aebfbf74ab59572f929aa2beb65 (diff) | |
| download | rust-a626caaad97b7f8733b8c9bd1fe9662cfc1e3ec1.tar.gz rust-a626caaad97b7f8733b8c9bd1fe9662cfc1e3ec1.zip | |
Revert duplication of tests.
Diffstat (limited to 'tests/ui/async-await/async-error-span.rs')
| -rw-r--r-- | tests/ui/async-await/async-error-span.rs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/ui/async-await/async-error-span.rs b/tests/ui/async-await/async-error-span.rs index c9ecf359e3d..86d459bf084 100644 --- a/tests/ui/async-await/async-error-span.rs +++ b/tests/ui/async-await/async-error-span.rs @@ -1,6 +1,3 @@ -// revisions: no_drop_tracking drop_tracking drop_tracking_mir -// [drop_tracking] compile-flags: -Zdrop-tracking -// [drop_tracking_mir] compile-flags: -Zdrop-tracking-mir // edition:2018 // Regression test for issue #62382. @@ -13,9 +10,7 @@ fn get_future() -> impl Future<Output = ()> { } async fn foo() { - let a; - //[no_drop_tracking,drop_tracking]~^ ERROR type inside `async fn` body must be known in this context - //[drop_tracking_mir]~^^ ERROR type annotations needed + let a; //~ ERROR type inside `async fn` body must be known in this context get_future().await; } |
