rustdoc: Fix cross-crate macro source links
The source filename for cross crate macros isn't quite right so the normal generated links are invalid. Closes #21311
This commit is contained in:
parent
0a46933c4d
commit
8fb31f75c9
6 changed files with 51 additions and 20 deletions
|
@ -214,6 +214,7 @@ pub struct Macro {
|
|||
pub attrs: Vec<ast::Attribute>,
|
||||
pub whence: Span,
|
||||
pub stab: Option<attr::Stability>,
|
||||
pub imported_from: Option<Ident>,
|
||||
}
|
||||
|
||||
pub struct ExternCrate {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue