1 error[E0706]: trait fns cannot be declared `async`
2 --> $DIR/async-trait-fn.rs:3:5
7 = note: `async` trait functions are not currently supported
8 = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait
10 error[E0706]: trait fns cannot be declared `async`
11 --> $DIR/async-trait-fn.rs:4:5
13 LL | async fn bar(&self) {}
14 | ^^^^^^^^^^^^^^^^^^^^^^
16 = note: `async` trait functions are not currently supported
17 = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait
19 error: aborting due to 2 previous errors
21 For more information about this error, try `rustc --explain E0706`.