From ef144aed28b636eb65759505b2323afc4c753fbe Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sat, 14 Oct 2023 19:25:38 -0700 Subject: [PATCH] Update ui test suite to nightly-2023-10-15 --- tests/ui/no-attribute-macro.stderr | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/tests/ui/no-attribute-macro.stderr b/tests/ui/no-attribute-macro.stderr index c7f2502..35d8d5a 100644 --- a/tests/ui/no-attribute-macro.stderr +++ b/tests/ui/no-attribute-macro.stderr @@ -1,29 +1,3 @@ -error[E0706]: functions in traits cannot be declared `async` - --> tests/ui/no-attribute-macro.rs:2:5 - | -2 | async fn method(&self); - | -----^^^^^^^^^^^^^^^^^^ - | | - | `async` because of this - | - = note: `async` trait functions are not currently supported - = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait - = note: see issue #91611 for more information - = help: add `#![feature(async_fn_in_trait)]` to the crate attributes to enable - -error[E0706]: functions in traits cannot be declared `async` - --> tests/ui/no-attribute-macro.rs:8:5 - | -8 | async fn method(&self) {} - | -----^^^^^^^^^^^^^^^^^ - | | - | `async` because of this - | - = note: `async` trait functions are not currently supported - = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait - = note: see issue #91611 for more information - = help: add `#![feature(async_fn_in_trait)]` to the crate attributes to enable - error[E0038]: the trait `Trait` cannot be made into an object --> tests/ui/no-attribute-macro.rs:12:12 |