diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2020-03-12 16:32:17 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-12 16:32:17 +0100 |
| commit | 4f7fc5ad67368e8c9ef0ce1a4564e8228e67740a (patch) | |
| tree | a2ca04f7812d5bf806e899be490545a577a0d97b /src/test/ui/async-await | |
| parent | 3d23de7bafffa6f331b59ce775327bb4aa343166 (diff) | |
| parent | 7ee1b470920d2ff4d6ffb100a5bbcf594b9031a1 (diff) | |
| download | rust-4f7fc5ad67368e8c9ef0ce1a4564e8228e67740a.tar.gz rust-4f7fc5ad67368e8c9ef0ce1a4564e8228e67740a.zip | |
Rollup merge of #69722 - estebank:negative-impl-span-ast, r=Centril
Tweak output for invalid negative impl AST errors Use more accurate spans for negative `impl` errors. r? @Centril
Diffstat (limited to 'src/test/ui/async-await')
| -rw-r--r-- | src/test/ui/async-await/no-const-async.stderr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/async-await/no-const-async.stderr b/src/test/ui/async-await/no-const-async.stderr index 07559cd240b..4e59bb50767 100644 --- a/src/test/ui/async-await/no-const-async.stderr +++ b/src/test/ui/async-await/no-const-async.stderr @@ -1,8 +1,8 @@ error: functions cannot be both `const` and `async` - --> $DIR/no-const-async.rs:4:1 + --> $DIR/no-const-async.rs:4:5 | LL | pub const async fn x() {} - | ^^^^-----^-----^^^^^^^^^^ + | ----^^^^^-^^^^^---------- | | | | | `async` because of this | `const` because of this |
