Files
rust/tests/rustdoc-ui/macro-docs.stderr
Esteban Küber f1e9e5e4aa When error from local macro, include macro def span
- mention `-Zmacro-backtrace` only for non-local macros
- include span for local macro encompassing error
2026-09-20 04:11:09 +00:00

22 lines
546 B
Plaintext

warning: unresolved link to `long_cat`
--> $DIR/macro-docs.rs:5:9
|
LL | macro_rules! m {
LL | () => {
LL | /// A
| ^^^^^
...
LL | m!();
| ---- in this macro invocation
|
= note: the link appears in this line:
[`long_cat`] is really long
^^^^^^^^^^
= note: no item named `long_cat` in scope
= help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
= note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default
warning: 1 warning emitted