mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-02 09:47:57 +00:00
- mention `-Zmacro-backtrace` only for non-local macros - include span for local macro encompassing error
22 lines
546 B
Plaintext
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
|
|
|