about summary refs log tree commit diff
path: root/tests/ui/async-await/async-fn-nonsend.rs
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2023-01-26 03:51:26 +0000
committerCamille GILLOT <gillot.camille@gmail.com>2023-01-27 20:10:17 +0000
commit0e52a671d41a787fe236cfa158d004ee28836b11 (patch)
treef70cd2a6db757cd8459734b765b45977bfdd5b66 /tests/ui/async-await/async-fn-nonsend.rs
parent60e04d1e8c3afd392551db103651e0ac55b4bd7e (diff)
downloadrust-0e52a671d41a787fe236cfa158d004ee28836b11.tar.gz
rust-0e52a671d41a787fe236cfa158d004ee28836b11.zip
Bless tests.
Diffstat (limited to 'tests/ui/async-await/async-fn-nonsend.rs')
-rw-r--r--tests/ui/async-await/async-fn-nonsend.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/ui/async-await/async-fn-nonsend.rs b/tests/ui/async-await/async-fn-nonsend.rs
index 77c957d0592..ed440bd0182 100644
--- a/tests/ui/async-await/async-fn-nonsend.rs
+++ b/tests/ui/async-await/async-fn-nonsend.rs
@@ -68,13 +68,13 @@ fn assert_send(_: impl Send) {}
 
 pub fn pass_assert() {
     assert_send(local_dropped_before_await());
-    //[no_drop_tracking,drop_tracking_mir]~^ ERROR future cannot be sent between threads safely
+    //[no_drop_tracking]~^ ERROR future cannot be sent between threads safely
     assert_send(non_send_temporary_in_match());
     //~^ ERROR future cannot be sent between threads safely
     assert_send(non_sync_with_method_call());
     //~^ ERROR future cannot be sent between threads safely
     assert_send(non_sync_with_method_call_panic());
-    //[no_drop_tracking,drop_tracking_mir]~^ ERROR future cannot be sent between threads safely
+    //[no_drop_tracking]~^ ERROR future cannot be sent between threads safely
     assert_send(non_sync_with_method_call_infinite_loop());
-    //[no_drop_tracking,drop_tracking_mir]~^ ERROR future cannot be sent between threads safely
+    //[no_drop_tracking]~^ ERROR future cannot be sent between threads safely
 }