diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2023-01-26 03:51:26 +0000 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2023-01-27 20:10:17 +0000 |
| commit | 0e52a671d41a787fe236cfa158d004ee28836b11 (patch) | |
| tree | f70cd2a6db757cd8459734b765b45977bfdd5b66 /tests/ui/async-await/async-error-span.rs | |
| parent | 60e04d1e8c3afd392551db103651e0ac55b4bd7e (diff) | |
| download | rust-0e52a671d41a787fe236cfa158d004ee28836b11.tar.gz rust-0e52a671d41a787fe236cfa158d004ee28836b11.zip | |
Bless tests.
Diffstat (limited to 'tests/ui/async-await/async-error-span.rs')
| -rw-r--r-- | tests/ui/async-await/async-error-span.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/ui/async-await/async-error-span.rs b/tests/ui/async-await/async-error-span.rs index 29b58ebc3a4..c9ecf359e3d 100644 --- a/tests/ui/async-await/async-error-span.rs +++ b/tests/ui/async-await/async-error-span.rs @@ -13,7 +13,9 @@ fn get_future() -> impl Future<Output = ()> { } async fn foo() { - let a; //~ ERROR type inside `async fn` body must be known in this context + 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 get_future().await; } |
