1
Fork 0

Fix tests and rustdoc

This commit is contained in:
Nick Cameron 2018-09-12 13:44:22 +12:00
parent c480386391
commit cdcbdfdf0a
11 changed files with 28 additions and 24 deletions

View file

@ -4012,6 +4012,8 @@ where F: Fn(DefId) -> Def {
def: def_ctor(def_id),
segments: hir::HirVec::from_vec(apb.names.iter().map(|s| hir::PathSegment {
ident: ast::Ident::from_str(&s),
id: None,
def: None,
args: None,
infer_types: false,
}).collect())