@@ -2269,12 +2269,12 @@ impl Clean<Vec<Item>> for doctree::Import<'_> {
22692269 visibility : self . vis . clean ( cx) ,
22702270 stability : None ,
22712271 deprecation : None ,
2272- inner : ImportItem ( Import :: Glob ( resolve_use_source ( cx, path) , false ) ) ,
2272+ inner : ImportItem ( Import :: new_glob ( resolve_use_source ( cx, path) , false ) ) ,
22732273 } ) ;
22742274 return items;
22752275 }
22762276 }
2277- Import :: Glob ( resolve_use_source ( cx, path) , true )
2277+ Import :: new_glob ( resolve_use_source ( cx, path) , true )
22782278 } else {
22792279 let name = self . name ;
22802280 if !please_inline {
@@ -2297,9 +2297,6 @@ impl Clean<Vec<Item>> for doctree::Import<'_> {
22972297 Some ( self . attrs ) ,
22982298 & mut visited,
22992299 ) {
2300- // In case this is a macro, we don't want to show the reexport, only the macro
2301- // itself.
2302- let is_macro = matches ! ( path. res, Res :: Def ( DefKind :: Macro ( _) , _) ) ;
23032300 items. push ( Item {
23042301 name : None ,
23052302 attrs : self . attrs . clean ( cx) ,
@@ -2308,16 +2305,16 @@ impl Clean<Vec<Item>> for doctree::Import<'_> {
23082305 visibility : self . vis . clean ( cx) ,
23092306 stability : None ,
23102307 deprecation : None ,
2311- inner : ImportItem ( Import :: Simple (
2308+ inner : ImportItem ( Import :: new_simple (
23122309 self . name . clean ( cx) ,
23132310 resolve_use_source ( cx, path) ,
2314- is_macro ,
2311+ false ,
23152312 ) ) ,
23162313 } ) ;
23172314 return items;
23182315 }
23192316 }
2320- Import :: Simple ( name. clean ( cx) , resolve_use_source ( cx, path) , false )
2317+ Import :: new_simple ( name. clean ( cx) , resolve_use_source ( cx, path) , true )
23212318 } ;
23222319
23232320 vec ! [ Item {
0 commit comments