diff options
| author | Aaron Hill <aa1ronham@gmail.com> | 2021-02-13 14:52:25 -0500 |
|---|---|---|
| committer | Aaron Hill <aa1ronham@gmail.com> | 2021-05-12 19:03:06 -0400 |
| commit | 0dd9f118d973bb077c6ff0e2a57421ca2eecb81c (patch) | |
| tree | 02a54f3e5aceaf032fbc32486fd122f47dd40553 /src/test/rustdoc-ui | |
| parent | 70e52caed91a43fc01867921e67fcd3478056edd (diff) | |
| download | rust-0dd9f118d973bb077c6ff0e2a57421ca2eecb81c.tar.gz rust-0dd9f118d973bb077c6ff0e2a57421ca2eecb81c.zip | |
Show macro name in 'this error originates in macro' message
When there are multiple macros in use, it can be difficult to tell which one was responsible for producing an error.
Diffstat (limited to 'src/test/rustdoc-ui')
| -rw-r--r-- | src/test/rustdoc-ui/intra-doc/warning.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/rustdoc-ui/intra-doc/warning.stderr b/src/test/rustdoc-ui/intra-doc/warning.stderr index 135c432e053..af83b9b1955 100644 --- a/src/test/rustdoc-ui/intra-doc/warning.stderr +++ b/src/test/rustdoc-ui/intra-doc/warning.stderr @@ -96,7 +96,7 @@ LL | f!("Foo\nbar [BarF] bar\nbaz"); ^^^^ = note: no item named `BarF` in scope = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` - = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this warning originates in the macro `f` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unresolved link to `error` --> $DIR/warning.rs:58:30 |
