@@ -164,8 +164,7 @@ impl Clean<Type> for (ty::TraitRef<'_>, &[TypeBinding]) {
164
164
) ;
165
165
}
166
166
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 ) ;
169
168
170
169
debug ! ( "ty::TraitRef\n subst: {:?}\n " , trait_ref. substs) ;
171
170
@@ -1442,12 +1441,12 @@ impl<'tcx> Clean<Type> for Ty<'tcx> {
1442
1441
AdtKind :: Enum => ItemType :: Enum ,
1443
1442
} ;
1444
1443
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) ;
1446
1445
ResolvedPath { path, did, is_generic : false }
1447
1446
}
1448
1447
ty:: Foreign ( did) => {
1449
1448
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 ( ) ) ;
1451
1450
ResolvedPath { path, did, is_generic : false }
1452
1451
}
1453
1452
ty:: Dynamic ( ref obj, ref reg) => {
@@ -1471,7 +1470,7 @@ impl<'tcx> Clean<Type> for Ty<'tcx> {
1471
1470
1472
1471
for did in dids {
1473
1472
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) ;
1475
1474
inline:: record_extern_fqn ( cx, did, ItemType :: Trait ) ;
1476
1475
let bound = PolyTrait {
1477
1476
trait_ : ResolvedPath { path, did, is_generic : false } ,
@@ -1488,7 +1487,7 @@ impl<'tcx> Clean<Type> for Ty<'tcx> {
1488
1487
} ) ;
1489
1488
}
1490
1489
1491
- let path = external_path ( cx, did, true , false , bindings, substs) ;
1490
+ let path = external_path ( cx, did, false , bindings, substs) ;
1492
1491
bounds. insert (
1493
1492
0 ,
1494
1493
PolyTrait {
0 commit comments