diff options
Diffstat (limited to '')
-rw-r--r-- | tests/ui/issues/issue-39848.stderr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/issues/issue-39848.stderr b/tests/ui/issues/issue-39848.stderr index 387ef0776..a6c6c61f1 100644 --- a/tests/ui/issues/issue-39848.stderr +++ b/tests/ui/issues/issue-39848.stderr @@ -1,4 +1,4 @@ -error: expected `{`, found `foo` +error: expected `{`, found identifier `foo` --> $DIR/issue-39848.rs:3:21 | LL | if $tgt.has_$field() {} @@ -21,5 +21,5 @@ help: try placing this code inside a block LL | if $tgt.has_{ $field() } {} | + + -error: aborting due to previous error +error: aborting due to 1 previous error |