rustdoc: Fix ICE with cross-crate default impls
This adds a special code path for impls which are listed as default impls to ensure that they're loaded correctly.
This commit is contained in:
parent
c9b03c24ec
commit
4e25765aa2
11 changed files with 130 additions and 14 deletions
|
@ -202,6 +202,8 @@ pub struct DefaultImpl {
|
|||
pub unsafety: ast::Unsafety,
|
||||
pub trait_: ast::TraitRef,
|
||||
pub id: ast::NodeId,
|
||||
pub attrs: Vec<ast::Attribute>,
|
||||
pub whence: Span,
|
||||
}
|
||||
|
||||
pub struct Macro {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue