File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
src/librustc_incremental/calculate_svh Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -324,7 +324,7 @@ enum SawPatComponent {
324324 SawPatRef ( Mutability ) ,
325325 SawPatLit ,
326326 SawPatRange ,
327- SawPathVec
327+ SawPatSlice
328328}
329329
330330fn saw_pat ( node : & PatKind ) -> SawPatComponent {
@@ -339,14 +339,14 @@ fn saw_pat(node: &PatKind) -> SawPatComponent {
339339 PatKind :: Ref ( _, mutability) => SawPatRef ( mutability) ,
340340 PatKind :: Lit ( ..) => SawPatLit ,
341341 PatKind :: Range ( ..) => SawPatRange ,
342- PatKind :: Vec ( ..) => SawPathVec
342+ PatKind :: Slice ( ..) => SawPatSlice
343343 }
344344}
345345
346346#[ derive( Hash ) ]
347347enum SawTyComponent {
348- SawTyVec ,
349- SawTyFixedLengthVec ,
348+ SawTySlice ,
349+ SawTyArray ,
350350 SawTyPtr ( Mutability ) ,
351351 SawTyRptr ( Mutability ) ,
352352 SawTyBareFn ,
@@ -362,8 +362,8 @@ enum SawTyComponent {
362362
363363fn saw_ty ( node : & Ty_ ) -> SawTyComponent {
364364 match * node {
365- TyVec ( ..) => SawTyVec ,
366- TyFixedLengthVec ( ..) => SawTyFixedLengthVec ,
365+ TySlice ( ..) => SawTySlice ,
366+ TyArray ( ..) => SawTyArray ,
367367 TyPtr ( ref mty) => SawTyPtr ( mty. mutbl ) ,
368368 TyRptr ( _, ref mty) => SawTyRptr ( mty. mutbl ) ,
369369 TyBareFn ( ..) => SawTyBareFn ,
You can’t perform that action at this time.
0 commit comments