about summary refs log tree commit diff
path: root/src/test/ui/parser
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2022-06-20 19:25:52 -0700
committerMichael Goulet <michael@errs.io>2022-07-19 03:07:54 +0000
commit01b2379e4902658de68fcdca2a15b48fe4d57875 (patch)
tree4870efd0d9315ad6188f1c5f5ee763823ebd1afc /src/test/ui/parser
parent475aec11886250ec93fbb6e8e1e3dbd4b35dfc89 (diff)
downloadrust-01b2379e4902658de68fcdca2a15b48fe4d57875.tar.gz
rust-01b2379e4902658de68fcdca2a15b48fe4d57875.zip
Mention first and last macro in backtrace
Diffstat (limited to 'src/test/ui/parser')
-rw-r--r--src/test/ui/parser/macro/pub-item-macro.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/parser/macro/pub-item-macro.stderr b/src/test/ui/parser/macro/pub-item-macro.stderr
index 4f82acf38e1..9a2fffcced5 100644
--- a/src/test/ui/parser/macro/pub-item-macro.stderr
+++ b/src/test/ui/parser/macro/pub-item-macro.stderr
@@ -24,7 +24,7 @@ LL |         static x: u32 = 0;
 ...
 LL |     pub_x!();
    |     -------- in this macro invocation
-   = note: this error originates in the macro `priv_x` (in Nightly builds, run with -Z macro-backtrace for more info)
+   = note: this error originates in the macro `priv_x` which comes from the expansion of the macro `pub_x` (in Nightly builds, run with -Z macro-backtrace for more info)
 
 error: aborting due to 2 previous errors