1error[E0038]: the trait `Trait` is not dyn compatible 2 --> tests/ui/no-attribute-macro.rs:12:12 3 | 412 | let _: &dyn Trait; 5 | ^^^^^^^^^^ `Trait` is not dyn compatible 6 | 7note: for a trait to be dyn compatible it needs to allow building a vtable 8 for more information, visit <https://doc.rust-lang.org/reference/items/traits.html#dyn-compatibility> 9 --> tests/ui/no-attribute-macro.rs:2:14 10 | 111 | pub trait Trait { 12 | ----- this trait is not dyn compatible... 132 | async fn method(&self); 14 | ^^^^^^ ...because method `method` is `async` 15 = help: consider moving `method` to another trait 16 = help: only type `Struct` implements `Trait` within this crate; consider using it directly instead. 17 = note: `Trait` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type 18