]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/issues/issue-11692-1.stderr
Improve error recovery for some built-in macros
[rust.git] / src / test / ui / issues / issue-11692-1.stderr
index f4cc825803a3b53b9d6d77256a3ee0bf76460759..57a6a999544cf4952a7a9f0580b4b2eccd377b47 100644 (file)
@@ -1,18 +1,8 @@
-error: format argument must be a string literal
-  --> $DIR/issue-11692-1.rs:2:12
-   |
-LL |     print!(testo!());
-   |            ^^^^^^^^
-help: you might be missing a string literal to format with
-   |
-LL |     print!("{}", testo!());
-   |            ^^^^^
-
 error: cannot find macro `testo!` in this scope
   --> $DIR/issue-11692-1.rs:2:12
    |
-LL |     print!(testo!());
+LL |     print!(testo!()); //~ ERROR cannot find macro `testo!` in this scope
    |            ^^^^^
 
-error: aborting due to 2 previous errors
+error: aborting due to previous error