about summary refs log tree commit diff
path: root/tests/ui/async-await/in-trait/async-example-desugared.rs
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2023-09-26 20:20:25 +0000
committerMichael Goulet <michael@errs.io>2023-10-03 00:37:18 +0000
commit28d58f6524a10406c60c170c5e9eae70c8a7b76d (patch)
tree2c43416776963e09d40fa054f2b3ae493ed30807 /tests/ui/async-await/in-trait/async-example-desugared.rs
parentec79720c1e908728924c9634aac36fdc1fecd425 (diff)
downloadrust-28d58f6524a10406c60c170c5e9eae70c8a7b76d.tar.gz
rust-28d58f6524a10406c60c170c5e9eae70c8a7b76d.zip
Bless tests
Diffstat (limited to 'tests/ui/async-await/in-trait/async-example-desugared.rs')
-rw-r--r--tests/ui/async-await/in-trait/async-example-desugared.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ui/async-await/in-trait/async-example-desugared.rs b/tests/ui/async-await/in-trait/async-example-desugared.rs
index 0a5023176fe..7987645c97b 100644
--- a/tests/ui/async-await/in-trait/async-example-desugared.rs
+++ b/tests/ui/async-await/in-trait/async-example-desugared.rs
@@ -8,6 +8,7 @@
 use std::future::Future;
 
 trait MyTrait {
+    #[allow(async_fn_in_trait)]
     async fn foo(&self) -> i32;
 }