1- error[E0670]: `async fn` is not permitted in the 2015 edition
1+ error[E0670]: `async fn` is not permitted in Rust 2015
22 --> $DIR/edition-deny-async-fns-2015.rs:3:1
33 |
44LL | async fn foo() {}
@@ -7,7 +7,7 @@ LL | async fn foo() {}
77 = help: set `edition = "2018"` in `Cargo.toml`
88 = note: for more on editions, read https://doc.rust-lang.org/edition-guide
99
10- error[E0670]: `async fn` is not permitted in the 2015 edition
10+ error[E0670]: `async fn` is not permitted in Rust 2015
1111 --> $DIR/edition-deny-async-fns-2015.rs:5:12
1212 |
1313LL | fn baz() { async fn foo() {} }
@@ -16,7 +16,7 @@ LL | fn baz() { async fn foo() {} }
1616 = help: set `edition = "2018"` in `Cargo.toml`
1717 = note: for more on editions, read https://doc.rust-lang.org/edition-guide
1818
19- error[E0670]: `async fn` is not permitted in the 2015 edition
19+ error[E0670]: `async fn` is not permitted in Rust 2015
2020 --> $DIR/edition-deny-async-fns-2015.rs:7:1
2121 |
2222LL | async fn async_baz() {
@@ -25,7 +25,7 @@ LL | async fn async_baz() {
2525 = help: set `edition = "2018"` in `Cargo.toml`
2626 = note: for more on editions, read https://doc.rust-lang.org/edition-guide
2727
28- error[E0670]: `async fn` is not permitted in the 2015 edition
28+ error[E0670]: `async fn` is not permitted in Rust 2015
2929 --> $DIR/edition-deny-async-fns-2015.rs:8:5
3030 |
3131LL | async fn bar() {}
@@ -34,7 +34,7 @@ LL | async fn bar() {}
3434 = help: set `edition = "2018"` in `Cargo.toml`
3535 = note: for more on editions, read https://doc.rust-lang.org/edition-guide
3636
37- error[E0670]: `async fn` is not permitted in the 2015 edition
37+ error[E0670]: `async fn` is not permitted in Rust 2015
3838 --> $DIR/edition-deny-async-fns-2015.rs:14:5
3939 |
4040LL | async fn foo() {}
@@ -43,7 +43,7 @@ LL | async fn foo() {}
4343 = help: set `edition = "2018"` in `Cargo.toml`
4444 = note: for more on editions, read https://doc.rust-lang.org/edition-guide
4545
46- error[E0670]: `async fn` is not permitted in the 2015 edition
46+ error[E0670]: `async fn` is not permitted in Rust 2015
4747 --> $DIR/edition-deny-async-fns-2015.rs:18:5
4848 |
4949LL | async fn foo() {}
@@ -52,7 +52,7 @@ LL | async fn foo() {}
5252 = help: set `edition = "2018"` in `Cargo.toml`
5353 = note: for more on editions, read https://doc.rust-lang.org/edition-guide
5454
55- error[E0670]: `async fn` is not permitted in the 2015 edition
55+ error[E0670]: `async fn` is not permitted in Rust 2015
5656 --> $DIR/edition-deny-async-fns-2015.rs:36:9
5757 |
5858LL | async fn bar() {}
@@ -61,7 +61,7 @@ LL | async fn bar() {}
6161 = help: set `edition = "2018"` in `Cargo.toml`
6262 = note: for more on editions, read https://doc.rust-lang.org/edition-guide
6363
64- error[E0670]: `async fn` is not permitted in the 2015 edition
64+ error[E0670]: `async fn` is not permitted in Rust 2015
6565 --> $DIR/edition-deny-async-fns-2015.rs:26:9
6666 |
6767LL | async fn foo() {}
@@ -70,7 +70,7 @@ LL | async fn foo() {}
7070 = help: set `edition = "2018"` in `Cargo.toml`
7171 = note: for more on editions, read https://doc.rust-lang.org/edition-guide
7272
73- error[E0670]: `async fn` is not permitted in the 2015 edition
73+ error[E0670]: `async fn` is not permitted in Rust 2015
7474 --> $DIR/edition-deny-async-fns-2015.rs:31:13
7575 |
7676LL | async fn bar() {}
0 commit comments