1
Fork 0

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:
Alex Crichton 2015-03-12 19:15:52 -07:00
parent c9b03c24ec
commit 4e25765aa2
11 changed files with 130 additions and 14 deletions

View file

@ -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 {