|
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() {}
|
5 |
| - | ^^^^^ to use `async fn`, switch to Rust 2018 |
| 5 | + | ^^^^^ to use `async fn`, switch to Rust 2018 or later |
6 | 6 | |
|
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() {} }
|
14 |
| - | ^^^^^ to use `async fn`, switch to Rust 2018 |
| 14 | + | ^^^^^ to use `async fn`, switch to Rust 2018 or later |
15 | 15 | |
|
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() {
|
23 |
| - | ^^^^^ to use `async fn`, switch to Rust 2018 |
| 23 | + | ^^^^^ to use `async fn`, switch to Rust 2018 or later |
24 | 24 | |
|
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() {}
|
32 |
| - | ^^^^^ to use `async fn`, switch to Rust 2018 |
| 32 | + | ^^^^^ to use `async fn`, switch to Rust 2018 or later |
33 | 33 | |
|
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() {}
|
41 |
| - | ^^^^^ to use `async fn`, switch to Rust 2018 |
| 41 | + | ^^^^^ to use `async fn`, switch to Rust 2018 or later |
42 | 42 | |
|
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() {}
|
50 |
| - | ^^^^^ to use `async fn`, switch to Rust 2018 |
| 50 | + | ^^^^^ to use `async fn`, switch to Rust 2018 or later |
51 | 51 | |
|
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() {}
|
59 |
| - | ^^^^^ to use `async fn`, switch to Rust 2018 |
| 59 | + | ^^^^^ to use `async fn`, switch to Rust 2018 or later |
60 | 60 | |
|
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() {}
|
68 |
| - | ^^^^^ to use `async fn`, switch to Rust 2018 |
| 68 | + | ^^^^^ to use `async fn`, switch to Rust 2018 or later |
69 | 69 | |
|
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() {}
|
77 |
| - | ^^^^^ to use `async fn`, switch to Rust 2018 |
| 77 | + | ^^^^^ to use `async fn`, switch to Rust 2018 or later |
78 | 78 | |
|
79 | 79 | = help: set `edition = "2018"` in `Cargo.toml`
|
80 | 80 | = note: for more on editions, read https://doc.rust-lang.org/edition-guide
|
|
0 commit comments