@@ -365,7 +365,7 @@ impl FromWithTcx<clean::GenericBound> for GenericBound {
365365 match bound {
366366 TraitBound ( clean:: PolyTrait { trait_, generic_params } , modifier) => {
367367 // FIXME: should `trait_` be a clean::Path equivalent in JSON?
368- let trait_ = clean:: Type :: ResolvedPath { path : trait_ } . into_tcx ( tcx) ;
368+ let trait_ = clean:: Type :: Path { path : trait_ } . into_tcx ( tcx) ;
369369 GenericBound :: TraitBound {
370370 trait_,
371371 generic_params : generic_params. into_iter ( ) . map ( |x| x. into_tcx ( tcx) ) . collect ( ) ,
@@ -394,7 +394,7 @@ impl FromWithTcx<clean::Type> for Type {
394394 } ;
395395
396396 match ty {
397- clean:: Type :: ResolvedPath { path } => Type :: ResolvedPath {
397+ clean:: Type :: Path { path } => Type :: ResolvedPath {
398398 name : path. whole_name ( ) ,
399399 id : from_item_id ( path. def_id ( ) . into ( ) ) ,
400400 args : path. segments . last ( ) . map ( |args| Box :: new ( args. clone ( ) . args . into_tcx ( tcx) ) ) ,
@@ -439,7 +439,7 @@ impl FromWithTcx<clean::Type> for Type {
439439 } ,
440440 QPath { name, self_type, trait_, .. } => {
441441 // FIXME: should `trait_` be a clean::Path equivalent in JSON?
442- let trait_ = clean:: Type :: ResolvedPath { path : trait_ } . into_tcx ( tcx) ;
442+ let trait_ = clean:: Type :: Path { path : trait_ } . into_tcx ( tcx) ;
443443 Type :: QualifiedPath {
444444 name : name. to_string ( ) ,
445445 self_type : Box :: new ( ( * self_type) . into_tcx ( tcx) ) ,
@@ -505,7 +505,7 @@ impl FromWithTcx<clean::Impl> for Impl {
505505 let provided_trait_methods = impl_. provided_trait_methods ( tcx) ;
506506 let clean:: Impl { unsafety, generics, trait_, for_, items, polarity, kind } = impl_;
507507 // FIXME: should `trait_` be a clean::Path equivalent in JSON?
508- let trait_ = trait_. map ( |path| clean:: Type :: ResolvedPath { path } . into_tcx ( tcx) ) ;
508+ let trait_ = trait_. map ( |path| clean:: Type :: Path { path } . into_tcx ( tcx) ) ;
509509 // FIXME: use something like ImplKind in JSON?
510510 let ( synthetic, blanket_impl) = match kind {
511511 clean:: ImplKind :: Normal => ( false , None ) ,
0 commit comments