Rustdoc omits source line numbers in diagnostics if they originate in a macro #84694
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-intra-doc-links
Area: Intra-doc links, the ability to link to items in docs by name
A-macros
Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I tried this code:
rust/compiler/rustc_session/src/options.rs
Lines 97 to 104 in 9d170be
I expected to see this happen: Rustdoc shows the line number of the broken link, like it does normally:
Instead, this happened:
Meta
rustc --version --verbose
:Originally posted by @rust-log-analyzer in #84233 (comment)
The text was updated successfully, but these errors were encountered: