2019-02-23 12:39:27 -06:00
|
|
|
error[E0670]: `async fn` is not permitted in the 2015 edition
|
|
|
|
--> $DIR/edition-deny-async-fns-2015.rs:5:1
|
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | async fn foo() {}
|
2019-02-23 12:39:27 -06:00
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
error[E0670]: `async fn` is not permitted in the 2015 edition
|
|
|
|
--> $DIR/edition-deny-async-fns-2015.rs:7:12
|
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | fn baz() { async fn foo() {} }
|
2019-02-23 12:39:27 -06:00
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
error[E0670]: `async fn` is not permitted in the 2015 edition
|
|
|
|
--> $DIR/edition-deny-async-fns-2015.rs:10:5
|
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | async fn bar() {}
|
2019-02-23 12:39:27 -06:00
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
error[E0670]: `async fn` is not permitted in the 2015 edition
|
|
|
|
--> $DIR/edition-deny-async-fns-2015.rs:9:1
|
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | async fn async_baz() {
|
2019-02-23 12:39:27 -06:00
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
error[E0670]: `async fn` is not permitted in the 2015 edition
|
2019-06-29 14:38:26 -05:00
|
|
|
--> $DIR/edition-deny-async-fns-2015.rs:16:5
|
|
|
|
|
|
|
|
|
LL | async fn foo() {}
|
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
error[E0670]: `async fn` is not permitted in the 2015 edition
|
|
|
|
--> $DIR/edition-deny-async-fns-2015.rs:20:5
|
|
|
|
|
|
|
|
|
LL | async fn foo() {}
|
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
error[E0670]: `async fn` is not permitted in the 2015 edition
|
|
|
|
--> $DIR/edition-deny-async-fns-2015.rs:38:9
|
2019-02-23 12:39:27 -06:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | async fn bar() {}
|
2019-02-23 12:39:27 -06:00
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
error[E0670]: `async fn` is not permitted in the 2015 edition
|
|
|
|
--> $DIR/edition-deny-async-fns-2015.rs:28:9
|
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | async fn foo() {}
|
2019-02-23 12:39:27 -06:00
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
error[E0670]: `async fn` is not permitted in the 2015 edition
|
2019-06-29 14:38:26 -05:00
|
|
|
--> $DIR/edition-deny-async-fns-2015.rs:33:13
|
2019-02-23 12:39:27 -06:00
|
|
|
|
|
2019-06-29 14:38:26 -05:00
|
|
|
LL | async fn bar() {}
|
|
|
|
| ^^^^^
|
2019-02-23 12:39:27 -06:00
|
|
|
|
|
|
|
error[E0706]: trait fns cannot be declared `async`
|
|
|
|
--> $DIR/edition-deny-async-fns-2015.rs:20:5
|
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | async fn foo() {}
|
2019-02-23 12:39:27 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
2019-06-29 14:38:26 -05:00
|
|
|
error: aborting due to 10 previous errors
|
2019-02-23 12:39:27 -06:00
|
|
|
|
2019-04-17 12:26:38 -05:00
|
|
|
For more information about this error, try `rustc --explain E0670`.
|