]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/issues/issue-39848.stderr
Rollup merge of #60492 - acrrd:issues/54054_chain, r=SimonSapin
[rust.git] / src / test / ui / issues / issue-39848.stderr
index 6eda03c1a08ede9e518280784989102aa5409879..fa87967432df3483452124e17da8ff209f89797e 100644 (file)
@@ -2,7 +2,7 @@ error: expected `{`, found `foo`
   --> $DIR/issue-39848.rs:8:19
    |
 LL |         if $tgt.has_$field() {}
-   |         --                 - help: try placing this code inside a block: `{ foo(); }`
+   |         --                 - help: try placing this code inside a block: `{ ) }`
    |         |
    |         this `if` statement has a condition, but no block
 ...