@@ -164,8 +164,7 @@ impl Clean<Type> for (ty::TraitRef<'_>, &[TypeBinding]) {
164164 ) ;
165165 }
166166 inline:: record_extern_fqn ( cx, trait_ref. def_id , kind) ;
167- let path =
168- external_path ( cx, trait_ref. def_id , true , true , bounds. to_vec ( ) , trait_ref. substs ) ;
167+ let path = external_path ( cx, trait_ref. def_id , true , bounds. to_vec ( ) , trait_ref. substs ) ;
169168
170169 debug ! ( "ty::TraitRef\n subst: {:?}\n " , trait_ref. substs) ;
171170
@@ -1442,12 +1441,12 @@ impl<'tcx> Clean<Type> for Ty<'tcx> {
14421441 AdtKind :: Enum => ItemType :: Enum ,
14431442 } ;
14441443 inline:: record_extern_fqn ( cx, did, kind) ;
1445- let path = external_path ( cx, did, false , false , vec ! [ ] , substs) ;
1444+ let path = external_path ( cx, did, false , vec ! [ ] , substs) ;
14461445 ResolvedPath { path, did, is_generic : false }
14471446 }
14481447 ty:: Foreign ( did) => {
14491448 inline:: record_extern_fqn ( cx, did, ItemType :: ForeignType ) ;
1450- let path = external_path ( cx, did, false , false , vec ! [ ] , InternalSubsts :: empty ( ) ) ;
1449+ let path = external_path ( cx, did, false , vec ! [ ] , InternalSubsts :: empty ( ) ) ;
14511450 ResolvedPath { path, did, is_generic : false }
14521451 }
14531452 ty:: Dynamic ( ref obj, ref reg) => {
@@ -1471,7 +1470,7 @@ impl<'tcx> Clean<Type> for Ty<'tcx> {
14711470
14721471 for did in dids {
14731472 let empty = cx. tcx . intern_substs ( & [ ] ) ;
1474- let path = external_path ( cx, did, true , false , vec ! [ ] , empty) ;
1473+ let path = external_path ( cx, did, false , vec ! [ ] , empty) ;
14751474 inline:: record_extern_fqn ( cx, did, ItemType :: Trait ) ;
14761475 let bound = PolyTrait {
14771476 trait_ : ResolvedPath { path, did, is_generic : false } ,
@@ -1488,7 +1487,7 @@ impl<'tcx> Clean<Type> for Ty<'tcx> {
14881487 } ) ;
14891488 }
14901489
1491- let path = external_path ( cx, did, true , false , bindings, substs) ;
1490+ let path = external_path ( cx, did, false , bindings, substs) ;
14921491 bounds. insert (
14931492 0 ,
14941493 PolyTrait {
0 commit comments