1
- error[E0670]: `async fn` is not permitted in the 2015 edition
1
+ error[E0670]: `async fn` is not permitted in Rust 2015
2
2
--> $DIR/edition-deny-async-fns-2015.rs:3:1
3
3
|
4
4
LL | async fn foo() {}
@@ -7,7 +7,7 @@ LL | async fn foo() {}
7
7
= help: set `edition = "2018"` in `Cargo.toml`
8
8
= note: for more on editions, read https://doc.rust-lang.org/edition-guide
9
9
10
- error[E0670]: `async fn` is not permitted in the 2015 edition
10
+ error[E0670]: `async fn` is not permitted in Rust 2015
11
11
--> $DIR/edition-deny-async-fns-2015.rs:5:12
12
12
|
13
13
LL | fn baz() { async fn foo() {} }
@@ -16,7 +16,7 @@ LL | fn baz() { async fn foo() {} }
16
16
= help: set `edition = "2018"` in `Cargo.toml`
17
17
= note: for more on editions, read https://doc.rust-lang.org/edition-guide
18
18
19
- error[E0670]: `async fn` is not permitted in the 2015 edition
19
+ error[E0670]: `async fn` is not permitted in Rust 2015
20
20
--> $DIR/edition-deny-async-fns-2015.rs:7:1
21
21
|
22
22
LL | async fn async_baz() {
@@ -25,7 +25,7 @@ LL | async fn async_baz() {
25
25
= help: set `edition = "2018"` in `Cargo.toml`
26
26
= note: for more on editions, read https://doc.rust-lang.org/edition-guide
27
27
28
- error[E0670]: `async fn` is not permitted in the 2015 edition
28
+ error[E0670]: `async fn` is not permitted in Rust 2015
29
29
--> $DIR/edition-deny-async-fns-2015.rs:8:5
30
30
|
31
31
LL | async fn bar() {}
@@ -34,7 +34,7 @@ LL | async fn bar() {}
34
34
= help: set `edition = "2018"` in `Cargo.toml`
35
35
= note: for more on editions, read https://doc.rust-lang.org/edition-guide
36
36
37
- error[E0670]: `async fn` is not permitted in the 2015 edition
37
+ error[E0670]: `async fn` is not permitted in Rust 2015
38
38
--> $DIR/edition-deny-async-fns-2015.rs:14:5
39
39
|
40
40
LL | async fn foo() {}
@@ -43,7 +43,7 @@ LL | async fn foo() {}
43
43
= help: set `edition = "2018"` in `Cargo.toml`
44
44
= note: for more on editions, read https://doc.rust-lang.org/edition-guide
45
45
46
- error[E0670]: `async fn` is not permitted in the 2015 edition
46
+ error[E0670]: `async fn` is not permitted in Rust 2015
47
47
--> $DIR/edition-deny-async-fns-2015.rs:18:5
48
48
|
49
49
LL | async fn foo() {}
@@ -52,7 +52,7 @@ LL | async fn foo() {}
52
52
= help: set `edition = "2018"` in `Cargo.toml`
53
53
= note: for more on editions, read https://doc.rust-lang.org/edition-guide
54
54
55
- error[E0670]: `async fn` is not permitted in the 2015 edition
55
+ error[E0670]: `async fn` is not permitted in Rust 2015
56
56
--> $DIR/edition-deny-async-fns-2015.rs:36:9
57
57
|
58
58
LL | async fn bar() {}
@@ -61,7 +61,7 @@ LL | async fn bar() {}
61
61
= help: set `edition = "2018"` in `Cargo.toml`
62
62
= note: for more on editions, read https://doc.rust-lang.org/edition-guide
63
63
64
- error[E0670]: `async fn` is not permitted in the 2015 edition
64
+ error[E0670]: `async fn` is not permitted in Rust 2015
65
65
--> $DIR/edition-deny-async-fns-2015.rs:26:9
66
66
|
67
67
LL | async fn foo() {}
@@ -70,7 +70,7 @@ LL | async fn foo() {}
70
70
= help: set `edition = "2018"` in `Cargo.toml`
71
71
= note: for more on editions, read https://doc.rust-lang.org/edition-guide
72
72
73
- error[E0670]: `async fn` is not permitted in the 2015 edition
73
+ error[E0670]: `async fn` is not permitted in Rust 2015
74
74
--> $DIR/edition-deny-async-fns-2015.rs:31:13
75
75
|
76
76
LL | async fn bar() {}
0 commit comments