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 |