1
Fork 0

Revert duplication of tests.

This commit is contained in:
Camille GILLOT 2023-05-07 18:38:52 +00:00
parent ff03204365
commit a626caaad9
178 changed files with 439 additions and 4891 deletions

View file

@ -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;
}