]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/typeck/issue-81943.stderr
Rollup merge of #85997 - jyn514:rustdoc-diff, r=Mark-Simulacrum
[rust.git] / src / test / ui / typeck / issue-81943.stderr
index a30facfeb6daa8ee35a1fc57a4ce65880f04971c..7a1846529761cb34ae794edb7e36b7ba47c618bd 100644 (file)
@@ -4,7 +4,7 @@ error[E0308]: mismatched types
 LL |   f(|x| lib::d!(x));
    |         ^^^^^^^^^^ expected `()`, found `i32`
    |
-   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
+   = note: this error originates in the macro `lib::d` (in Nightly builds, run with -Z macro-backtrace for more info)
 
 error[E0308]: mismatched types
   --> $DIR/issue-81943.rs:8:28
@@ -36,7 +36,7 @@ LL |   }
 LL |   f(|x| d!(x));
    |         ----- in this macro invocation
    |
-   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
+   = note: this error originates in the macro `d` (in Nightly builds, run with -Z macro-backtrace for more info)
 help: consider using a semicolon here
    |
 LL |     ($e:expr) => { match $e { x => { g(x); } } }