@@ -2,7 +2,7 @@ error[E0670]: `async fn` is not permitted in the 2015 edition
22 --> $DIR/edition-deny-async-fns-2015.rs:3:1
33 |
44LL | async fn foo() {}
5- | ^^^^^ to use `async fn`, switch to Rust 2018
5+ | ^^^^^ to use `async fn`, switch to Rust 2018 or later
66 |
77 = help: set `edition = "2018"` in `Cargo.toml`
88 = note: for more on editions, read https://doc.rust-lang.org/edition-guide
@@ -11,7 +11,7 @@ error[E0670]: `async fn` is not permitted in the 2015 edition
1111 --> $DIR/edition-deny-async-fns-2015.rs:5:12
1212 |
1313LL | fn baz() { async fn foo() {} }
14- | ^^^^^ to use `async fn`, switch to Rust 2018
14+ | ^^^^^ to use `async fn`, switch to Rust 2018 or later
1515 |
1616 = help: set `edition = "2018"` in `Cargo.toml`
1717 = note: for more on editions, read https://doc.rust-lang.org/edition-guide
@@ -20,7 +20,7 @@ error[E0670]: `async fn` is not permitted in the 2015 edition
2020 --> $DIR/edition-deny-async-fns-2015.rs:7:1
2121 |
2222LL | async fn async_baz() {
23- | ^^^^^ to use `async fn`, switch to Rust 2018
23+ | ^^^^^ to use `async fn`, switch to Rust 2018 or later
2424 |
2525 = help: set `edition = "2018"` in `Cargo.toml`
2626 = note: for more on editions, read https://doc.rust-lang.org/edition-guide
@@ -29,7 +29,7 @@ error[E0670]: `async fn` is not permitted in the 2015 edition
2929 --> $DIR/edition-deny-async-fns-2015.rs:8:5
3030 |
3131LL | async fn bar() {}
32- | ^^^^^ to use `async fn`, switch to Rust 2018
32+ | ^^^^^ to use `async fn`, switch to Rust 2018 or later
3333 |
3434 = help: set `edition = "2018"` in `Cargo.toml`
3535 = note: for more on editions, read https://doc.rust-lang.org/edition-guide
@@ -38,7 +38,7 @@ error[E0670]: `async fn` is not permitted in the 2015 edition
3838 --> $DIR/edition-deny-async-fns-2015.rs:14:5
3939 |
4040LL | async fn foo() {}
41- | ^^^^^ to use `async fn`, switch to Rust 2018
41+ | ^^^^^ to use `async fn`, switch to Rust 2018 or later
4242 |
4343 = help: set `edition = "2018"` in `Cargo.toml`
4444 = note: for more on editions, read https://doc.rust-lang.org/edition-guide
@@ -47,7 +47,7 @@ error[E0670]: `async fn` is not permitted in the 2015 edition
4747 --> $DIR/edition-deny-async-fns-2015.rs:18:5
4848 |
4949LL | async fn foo() {}
50- | ^^^^^ to use `async fn`, switch to Rust 2018
50+ | ^^^^^ to use `async fn`, switch to Rust 2018 or later
5151 |
5252 = help: set `edition = "2018"` in `Cargo.toml`
5353 = note: for more on editions, read https://doc.rust-lang.org/edition-guide
@@ -56,7 +56,7 @@ error[E0670]: `async fn` is not permitted in the 2015 edition
5656 --> $DIR/edition-deny-async-fns-2015.rs:36:9
5757 |
5858LL | async fn bar() {}
59- | ^^^^^ to use `async fn`, switch to Rust 2018
59+ | ^^^^^ to use `async fn`, switch to Rust 2018 or later
6060 |
6161 = help: set `edition = "2018"` in `Cargo.toml`
6262 = note: for more on editions, read https://doc.rust-lang.org/edition-guide
@@ -65,7 +65,7 @@ error[E0670]: `async fn` is not permitted in the 2015 edition
6565 --> $DIR/edition-deny-async-fns-2015.rs:26:9
6666 |
6767LL | async fn foo() {}
68- | ^^^^^ to use `async fn`, switch to Rust 2018
68+ | ^^^^^ to use `async fn`, switch to Rust 2018 or later
6969 |
7070 = help: set `edition = "2018"` in `Cargo.toml`
7171 = note: for more on editions, read https://doc.rust-lang.org/edition-guide
@@ -74,7 +74,7 @@ error[E0670]: `async fn` is not permitted in the 2015 edition
7474 --> $DIR/edition-deny-async-fns-2015.rs:31:13
7575 |
7676LL | async fn bar() {}
77- | ^^^^^ to use `async fn`, switch to Rust 2018
77+ | ^^^^^ to use `async fn`, switch to Rust 2018 or later
7878 |
7979 = help: set `edition = "2018"` in `Cargo.toml`
8080 = note: for more on editions, read https://doc.rust-lang.org/edition-guide
0 commit comments