@@ -813,7 +813,7 @@ impl<'a, 'tcx> Context<'a, 'tcx> {
813813            let  disambiguator = CharonDisambiguator :: new ( data. disambiguator  as  usize ) ; 
814814            use  rustc_hir:: definitions:: DefPathData ; 
815815            match  & data. data  { 
816-                 DefPathData :: TypeNs ( Some ( symbol) )  => { 
816+                 DefPathData :: TypeNs ( symbol)  => { 
817817                    error_assert ! ( self ,  span,  data. disambiguator == 0 ) ;  // Sanity check 
818818                    name. push ( CharonPathElem :: Ident ( symbol. to_string ( ) ,  disambiguator) ) ; 
819819                } 
@@ -956,7 +956,7 @@ impl<'a, 'tcx> Context<'a, 'tcx> {
956956            let  disambiguator = CharonDisambiguator :: new ( data. disambiguator  as  usize ) ; 
957957            use  rustc_hir:: definitions:: DefPathData ; 
958958            match  & data. data  { 
959-                 DefPathData :: TypeNs ( Some ( symbol) )  => { 
959+                 DefPathData :: TypeNs ( symbol)  => { 
960960                    error_assert ! ( self ,  span,  data. disambiguator == 0 ) ;  // Sanity check 
961961                    name. push ( CharonPathElem :: Ident ( symbol. to_string ( ) ,  disambiguator) ) ; 
962962                } 
@@ -1063,7 +1063,7 @@ impl<'a, 'tcx> Context<'a, 'tcx> {
10631063            let  disambiguator = CharonDisambiguator :: new ( data. disambiguator  as  usize ) ; 
10641064            use  rustc_hir:: definitions:: DefPathData ; 
10651065            match  & data. data  { 
1066-                 DefPathData :: TypeNs ( Some ( symbol) )  => { 
1066+                 DefPathData :: TypeNs ( symbol)  => { 
10671067                    error_assert ! ( self ,  span,  data. disambiguator == 0 ) ;  // Sanity check 
10681068                    name. push ( CharonPathElem :: Ident ( symbol. to_string ( ) ,  disambiguator) ) ; 
10691069                } 
0 commit comments