diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-10-01 06:10:06 +0200 |
|---|---|---|
| committer | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-10-01 06:10:06 +0200 |
| commit | 5c5dd8069d0aeeb97ef6b6099767f97aec1edee4 (patch) | |
| tree | bbd7f769f1e3fbab718a3a193b77d3e48ccf9dca /src/test | |
| parent | e04690440b6d77b4da9bfcf593a641133033ae44 (diff) | |
syntax: reformat passing of `FnHeader` to `parse_item_fn`.
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/ui/async-await/edition-deny-async-fns-2015.stderr | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/test/ui/async-await/edition-deny-async-fns-2015.stderr b/src/test/ui/async-await/edition-deny-async-fns-2015.stderr index d3f88af09d1..7633825eb32 100644 --- a/src/test/ui/async-await/edition-deny-async-fns-2015.stderr +++ b/src/test/ui/async-await/edition-deny-async-fns-2015.stderr @@ -11,18 +11,18 @@ LL | fn baz() { async fn foo() {} } | ^^^^^ error[E0670]: `async fn` is not permitted in the 2015 edition - --> $DIR/edition-deny-async-fns-2015.rs:8:5 - | -LL | async fn bar() {} - | ^^^^^ - -error[E0670]: `async fn` is not permitted in the 2015 edition --> $DIR/edition-deny-async-fns-2015.rs:7:1 | LL | async fn async_baz() { | ^^^^^ error[E0670]: `async fn` is not permitted in the 2015 edition + --> $DIR/edition-deny-async-fns-2015.rs:8:5 + | +LL | async fn bar() {} + | ^^^^^ + +error[E0670]: `async fn` is not permitted in the 2015 edition --> $DIR/edition-deny-async-fns-2015.rs:14:5 | LL | async fn foo() {} |
