]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/issues/issue-39848.stderr
Rollup merge of #62337 - Mark-Simulacrum:fix-cpu-usage-script, r=alexcrichton
[rust.git] / src / test / ui / issues / issue-39848.stderr
index 9ca39dbaa3436729ca55d64ae0721e1f4d016b28..6eda03c1a08ede9e518280784989102aa5409879 100644 (file)
@@ -1,5 +1,5 @@
 error: expected `{`, found `foo`
-  --> $DIR/issue-39848.rs:18:19
+  --> $DIR/issue-39848.rs:8:19
    |
 LL |         if $tgt.has_$field() {}
    |         --                 - help: try placing this code inside a block: `{ foo(); }`
@@ -7,7 +7,7 @@ LL |         if $tgt.has_$field() {}
    |         this `if` statement has a condition, but no block
 ...
 LL |     get_opt!(bar, foo);
-   |                   ^^^
+   |                   ^^^ expected `{`
 
 error: aborting due to previous error