1 error[E0706]: functions in traits cannot be declared `async`
2 --> $DIR/async-trait-fn.rs:3:5
7 | `async` because of this
9 = note: `async` trait functions are not currently supported
10 = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait
12 error[E0706]: functions in traits cannot be declared `async`
13 --> $DIR/async-trait-fn.rs:4:5
15 LL | async fn bar(&self) {}
16 | -----^^^^^^^^^^^^^^^^^
18 | `async` because of this
20 = note: `async` trait functions are not currently supported
21 = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait
23 error[E0706]: functions in traits cannot be declared `async`
24 --> $DIR/async-trait-fn.rs:5:5
29 | _____`async` because of this
31 LL | | // Nested item must not ICE.
36 = note: `async` trait functions are not currently supported
37 = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait
39 error: aborting due to 3 previous errors
41 For more information about this error, try `rustc --explain E0706`.