@@ -4,7 +4,7 @@ error[E0670]: `async fn` is not permitted in Rust 2015
44LL | async fn foo() {}
55 | ^^^^^ to use `async fn`, switch to Rust 2018 or later
66 |
7- = help: set `edition = "2018 "` in `Cargo.toml`
7+ = help: set `edition = "2021 "` in `Cargo.toml`
88 = note: for more on editions, read https://doc.rust-lang.org/edition-guide
99
1010error[E0670]: `async fn` is not permitted in Rust 2015
@@ -13,7 +13,7 @@ error[E0670]: `async fn` is not permitted in Rust 2015
1313LL | fn baz() { async fn foo() {} }
1414 | ^^^^^ to use `async fn`, switch to Rust 2018 or later
1515 |
16- = help: set `edition = "2018 "` in `Cargo.toml`
16+ = help: set `edition = "2021 "` in `Cargo.toml`
1717 = note: for more on editions, read https://doc.rust-lang.org/edition-guide
1818
1919error[E0670]: `async fn` is not permitted in Rust 2015
@@ -22,7 +22,7 @@ error[E0670]: `async fn` is not permitted in Rust 2015
2222LL | async fn async_baz() {
2323 | ^^^^^ to use `async fn`, switch to Rust 2018 or later
2424 |
25- = help: set `edition = "2018 "` in `Cargo.toml`
25+ = help: set `edition = "2021 "` in `Cargo.toml`
2626 = note: for more on editions, read https://doc.rust-lang.org/edition-guide
2727
2828error[E0670]: `async fn` is not permitted in Rust 2015
@@ -31,7 +31,7 @@ error[E0670]: `async fn` is not permitted in Rust 2015
3131LL | async fn bar() {}
3232 | ^^^^^ to use `async fn`, switch to Rust 2018 or later
3333 |
34- = help: set `edition = "2018 "` in `Cargo.toml`
34+ = help: set `edition = "2021 "` in `Cargo.toml`
3535 = note: for more on editions, read https://doc.rust-lang.org/edition-guide
3636
3737error[E0670]: `async fn` is not permitted in Rust 2015
@@ -40,7 +40,7 @@ error[E0670]: `async fn` is not permitted in Rust 2015
4040LL | async fn foo() {}
4141 | ^^^^^ to use `async fn`, switch to Rust 2018 or later
4242 |
43- = help: set `edition = "2018 "` in `Cargo.toml`
43+ = help: set `edition = "2021 "` in `Cargo.toml`
4444 = note: for more on editions, read https://doc.rust-lang.org/edition-guide
4545
4646error[E0670]: `async fn` is not permitted in Rust 2015
@@ -49,7 +49,7 @@ error[E0670]: `async fn` is not permitted in Rust 2015
4949LL | async fn foo() {}
5050 | ^^^^^ to use `async fn`, switch to Rust 2018 or later
5151 |
52- = help: set `edition = "2018 "` in `Cargo.toml`
52+ = help: set `edition = "2021 "` in `Cargo.toml`
5353 = note: for more on editions, read https://doc.rust-lang.org/edition-guide
5454
5555error[E0670]: `async fn` is not permitted in Rust 2015
@@ -58,7 +58,7 @@ error[E0670]: `async fn` is not permitted in Rust 2015
5858LL | async fn bar() {}
5959 | ^^^^^ to use `async fn`, switch to Rust 2018 or later
6060 |
61- = help: set `edition = "2018 "` in `Cargo.toml`
61+ = help: set `edition = "2021 "` in `Cargo.toml`
6262 = note: for more on editions, read https://doc.rust-lang.org/edition-guide
6363
6464error[E0670]: `async fn` is not permitted in Rust 2015
@@ -67,7 +67,7 @@ error[E0670]: `async fn` is not permitted in Rust 2015
6767LL | async fn foo() {}
6868 | ^^^^^ to use `async fn`, switch to Rust 2018 or later
6969 |
70- = help: set `edition = "2018 "` in `Cargo.toml`
70+ = help: set `edition = "2021 "` in `Cargo.toml`
7171 = note: for more on editions, read https://doc.rust-lang.org/edition-guide
7272
7373error[E0670]: `async fn` is not permitted in Rust 2015
@@ -76,7 +76,7 @@ error[E0670]: `async fn` is not permitted in Rust 2015
7676LL | async fn bar() {}
7777 | ^^^^^ to use `async fn`, switch to Rust 2018 or later
7878 |
79- = help: set `edition = "2018 "` in `Cargo.toml`
79+ = help: set `edition = "2021 "` in `Cargo.toml`
8080 = note: for more on editions, read https://doc.rust-lang.org/edition-guide
8181
8282error[E0706]: functions in traits cannot be declared `async`
0 commit comments