@@ -4,7 +4,7 @@ error[E0670]: `async fn` is not permitted in Rust 2015
4
4
LL | async fn foo() {}
5
5
| ^^^^^ to use `async fn`, switch to Rust 2018 or later
6
6
|
7
- = help: set `edition = "2018 "` in `Cargo.toml`
7
+ = help: set `edition = "2021 "` in `Cargo.toml`
8
8
= note: for more on editions, read https://doc.rust-lang.org/edition-guide
9
9
10
10
error[E0670]: `async fn` is not permitted in Rust 2015
@@ -13,7 +13,7 @@ error[E0670]: `async fn` is not permitted in Rust 2015
13
13
LL | fn baz() { async fn foo() {} }
14
14
| ^^^^^ to use `async fn`, switch to Rust 2018 or later
15
15
|
16
- = help: set `edition = "2018 "` in `Cargo.toml`
16
+ = help: set `edition = "2021 "` in `Cargo.toml`
17
17
= note: for more on editions, read https://doc.rust-lang.org/edition-guide
18
18
19
19
error[E0670]: `async fn` is not permitted in Rust 2015
@@ -22,7 +22,7 @@ error[E0670]: `async fn` is not permitted in Rust 2015
22
22
LL | async fn async_baz() {
23
23
| ^^^^^ to use `async fn`, switch to Rust 2018 or later
24
24
|
25
- = help: set `edition = "2018 "` in `Cargo.toml`
25
+ = help: set `edition = "2021 "` in `Cargo.toml`
26
26
= note: for more on editions, read https://doc.rust-lang.org/edition-guide
27
27
28
28
error[E0670]: `async fn` is not permitted in Rust 2015
@@ -31,7 +31,7 @@ error[E0670]: `async fn` is not permitted in Rust 2015
31
31
LL | async fn bar() {}
32
32
| ^^^^^ to use `async fn`, switch to Rust 2018 or later
33
33
|
34
- = help: set `edition = "2018 "` in `Cargo.toml`
34
+ = help: set `edition = "2021 "` in `Cargo.toml`
35
35
= note: for more on editions, read https://doc.rust-lang.org/edition-guide
36
36
37
37
error[E0670]: `async fn` is not permitted in Rust 2015
@@ -40,7 +40,7 @@ error[E0670]: `async fn` is not permitted in Rust 2015
40
40
LL | async fn foo() {}
41
41
| ^^^^^ to use `async fn`, switch to Rust 2018 or later
42
42
|
43
- = help: set `edition = "2018 "` in `Cargo.toml`
43
+ = help: set `edition = "2021 "` in `Cargo.toml`
44
44
= note: for more on editions, read https://doc.rust-lang.org/edition-guide
45
45
46
46
error[E0670]: `async fn` is not permitted in Rust 2015
@@ -49,7 +49,7 @@ error[E0670]: `async fn` is not permitted in Rust 2015
49
49
LL | async fn foo() {}
50
50
| ^^^^^ to use `async fn`, switch to Rust 2018 or later
51
51
|
52
- = help: set `edition = "2018 "` in `Cargo.toml`
52
+ = help: set `edition = "2021 "` in `Cargo.toml`
53
53
= note: for more on editions, read https://doc.rust-lang.org/edition-guide
54
54
55
55
error[E0670]: `async fn` is not permitted in Rust 2015
@@ -58,7 +58,7 @@ error[E0670]: `async fn` is not permitted in Rust 2015
58
58
LL | async fn bar() {}
59
59
| ^^^^^ to use `async fn`, switch to Rust 2018 or later
60
60
|
61
- = help: set `edition = "2018 "` in `Cargo.toml`
61
+ = help: set `edition = "2021 "` in `Cargo.toml`
62
62
= note: for more on editions, read https://doc.rust-lang.org/edition-guide
63
63
64
64
error[E0670]: `async fn` is not permitted in Rust 2015
@@ -67,7 +67,7 @@ error[E0670]: `async fn` is not permitted in Rust 2015
67
67
LL | async fn foo() {}
68
68
| ^^^^^ to use `async fn`, switch to Rust 2018 or later
69
69
|
70
- = help: set `edition = "2018 "` in `Cargo.toml`
70
+ = help: set `edition = "2021 "` in `Cargo.toml`
71
71
= note: for more on editions, read https://doc.rust-lang.org/edition-guide
72
72
73
73
error[E0670]: `async fn` is not permitted in Rust 2015
@@ -76,7 +76,7 @@ error[E0670]: `async fn` is not permitted in Rust 2015
76
76
LL | async fn bar() {}
77
77
| ^^^^^ to use `async fn`, switch to Rust 2018 or later
78
78
|
79
- = help: set `edition = "2018 "` in `Cargo.toml`
79
+ = help: set `edition = "2021 "` in `Cargo.toml`
80
80
= note: for more on editions, read https://doc.rust-lang.org/edition-guide
81
81
82
82
error[E0706]: functions in traits cannot be declared `async`
0 commit comments