1 error[E0670]: `async fn` is not permitted in the 2015 edition
2 --> $DIR/edition-deny-async-fns-2015.rs:3:1
7 error[E0670]: `async fn` is not permitted in the 2015 edition
8 --> $DIR/edition-deny-async-fns-2015.rs:5:12
10 LL | fn baz() { async fn foo() {} }
13 error[E0670]: `async fn` is not permitted in the 2015 edition
14 --> $DIR/edition-deny-async-fns-2015.rs:7:1
16 LL | async fn async_baz() {
19 error[E0670]: `async fn` is not permitted in the 2015 edition
20 --> $DIR/edition-deny-async-fns-2015.rs:8:5
22 LL | async fn bar() {}
25 error[E0670]: `async fn` is not permitted in the 2015 edition
26 --> $DIR/edition-deny-async-fns-2015.rs:14:5
28 LL | async fn foo() {}
31 error[E0670]: `async fn` is not permitted in the 2015 edition
32 --> $DIR/edition-deny-async-fns-2015.rs:18:5
34 LL | async fn foo() {}
37 error[E0670]: `async fn` is not permitted in the 2015 edition
38 --> $DIR/edition-deny-async-fns-2015.rs:36:9
40 LL | async fn bar() {}
43 error[E0670]: `async fn` is not permitted in the 2015 edition
44 --> $DIR/edition-deny-async-fns-2015.rs:26:9
46 LL | async fn foo() {}
49 error[E0670]: `async fn` is not permitted in the 2015 edition
50 --> $DIR/edition-deny-async-fns-2015.rs:31:13
52 LL | async fn bar() {}
55 error[E0706]: trait fns cannot be declared `async`
56 --> $DIR/edition-deny-async-fns-2015.rs:18:5
58 LL | async fn foo() {}
61 = note: `async` trait functions are not currently supported
62 = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait
64 error: aborting due to 10 previous errors
66 Some errors have detailed explanations: E0670, E0706.
67 For more information about an error, try `rustc --explain E0670`.