fork/rust
git clone https://git.julia.blue/fork/rust
5e1a799842b
1.41.0
1error[E0670]: `async fn` is not permitted in the 2015 edition 2 --> $DIR/edition-deny-async-fns-2015.rs:3:1 3 | 4LL | async fn foo() {} 5 | ^^^^^ 6 7error[E0670]: `async fn` is not permitted in the 2015 edition 8 --> $DIR/edition-deny-async-fns-2015.rs:5:12 9 | 10LL | fn baz() { async fn foo() {} } 11 | ^^^^^ 12 13error[E0670]: `async fn` is not permitted in the 2015 edition 14 --> $DIR/edition-deny-async-fns-2015.rs:7:1 15 | 16LL | async fn async_baz() { 17 | ^^^^^ 18 19error[E0670]: `async fn` is not permitted in the 2015 edition 20 --> $DIR/edition-deny-async-fns-2015.rs:8:5 21 | 22LL | async fn bar() {} 23 | ^^^^^ 24 25error[E0670]: `async fn` is not permitted in the 2015 edition 26 --> $DIR/edition-deny-async-fns-2015.rs:14:5 27 | 28LL | async fn foo() {} 29 | ^^^^^ 30 31error[E0670]: `async fn` is not permitted in the 2015 edition 32 --> $DIR/edition-deny-async-fns-2015.rs:18:5 33 | 34LL | async fn foo() {} 35 | ^^^^^ 36 37error[E0670]: `async fn` is not permitted in the 2015 edition 38 --> $DIR/edition-deny-async-fns-2015.rs:36:9 39 | 40LL | async fn bar() {} 41 | ^^^^^ 42 43error[E0670]: `async fn` is not permitted in the 2015 edition 44 --> $DIR/edition-deny-async-fns-2015.rs:26:9 45 | 46LL | async fn foo() {} 47 | ^^^^^ 48 49error[E0670]: `async fn` is not permitted in the 2015 edition 50 --> $DIR/edition-deny-async-fns-2015.rs:31:13 51 | 52LL | async fn bar() {} 53 | ^^^^^ 54 55error[E0706]: trait fns cannot be declared `async` 56 --> $DIR/edition-deny-async-fns-2015.rs:18:5 57 | 58LL | async fn foo() {} 59 | ^^^^^^^^^^^^^^^^^ 60 | 61 = note: `async` trait functions are not currently supported 62 = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait 63 64error: aborting due to 10 previous errors 65 66Some errors have detailed explanations: E0670, E0706. 67For more information about an error, try `rustc --explain E0670`.