Skip to content

Commit

Permalink
save-analysis: handle a few more kinds of paths
Browse files Browse the repository at this point in the history
  • Loading branch information
nrc committed Jul 14, 2015
1 parent 41b0568 commit 94f13ac
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/librustc_trans/save/mod.rs
Expand Up @@ -532,7 +532,10 @@ impl<'l, 'tcx: 'l> SaveContext<'l, 'tcx> {
ref_id: def.def_id(),
})
}
def::DefStruct(def_id) | def::DefTy(def_id, _) => {
def::DefStruct(def_id) |
def::DefTy(def_id, _) |
def::DefTrait(def_id) |
def::DefTyParam(_, _, def_id, _) => {
Data::TypeRefData(TypeRefData {
span: sub_span.unwrap(),
ref_id: def_id,
Expand Down

0 comments on commit 94f13ac

Please sign in to comment.