let what_rustc_thinks = Item::from_hir_id_and_parts(
self.id,
- self.name,
+ Some(self.name),
ModuleItem(Module { is_crate: self.is_crate, items }),
cx,
);
}
}
TyKind::Path(_) => clean_qpath(&self, cx),
- TyKind::TraitObject(ref bounds, ref lifetime) => {
+ TyKind::TraitObject(ref bounds, ref lifetime, _) => {
match bounds[0].clean(cx).trait_ {
ResolvedPath { path, param_names: None, did, is_generic } => {
let mut bounds: Vec<self::GenericBound> = bounds[1..]