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 {
324
324
SawPatRef ( Mutability ) ,
325
325
SawPatLit ,
326
326
SawPatRange ,
327
- SawPathVec
327
+ SawPatSlice
328
328
}
329
329
330
330
fn saw_pat ( node : & PatKind ) -> SawPatComponent {
@@ -339,14 +339,14 @@ fn saw_pat(node: &PatKind) -> SawPatComponent {
339
339
PatKind :: Ref ( _, mutability) => SawPatRef ( mutability) ,
340
340
PatKind :: Lit ( ..) => SawPatLit ,
341
341
PatKind :: Range ( ..) => SawPatRange ,
342
- PatKind :: Vec ( ..) => SawPathVec
342
+ PatKind :: Slice ( ..) => SawPatSlice
343
343
}
344
344
}
345
345
346
346
#[ derive( Hash ) ]
347
347
enum SawTyComponent {
348
- SawTyVec ,
349
- SawTyFixedLengthVec ,
348
+ SawTySlice ,
349
+ SawTyArray ,
350
350
SawTyPtr ( Mutability ) ,
351
351
SawTyRptr ( Mutability ) ,
352
352
SawTyBareFn ,
@@ -362,8 +362,8 @@ enum SawTyComponent {
362
362
363
363
fn saw_ty ( node : & Ty_ ) -> SawTyComponent {
364
364
match * node {
365
- TyVec ( ..) => SawTyVec ,
366
- TyFixedLengthVec ( ..) => SawTyFixedLengthVec ,
365
+ TySlice ( ..) => SawTySlice ,
366
+ TyArray ( ..) => SawTyArray ,
367
367
TyPtr ( ref mty) => SawTyPtr ( mty. mutbl ) ,
368
368
TyRptr ( _, ref mty) => SawTyRptr ( mty. mutbl ) ,
369
369
TyBareFn ( ..) => SawTyBareFn ,
You can’t perform that action at this time.
0 commit comments