We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f64296 commit 0e40dbbCopy full SHA for 0e40dbb
src/librustc_incremental/calculate_svh/svh_visitor.rs
@@ -366,10 +366,7 @@ fn saw_ty(node: &Ty_) -> SawTyComponent {
366
TyArray(..) => SawTyArray,
367
TyPtr(ref mty) => SawTyPtr(mty.mutbl),
368
TyRptr(_, ref mty) => SawTyRptr(mty.mutbl),
369
- TyBareFn(ref barefnty) => {
370
- let ref fnty = *barefnty;
371
- SawTyBareFn(fnty.unsafety, fnty.abi)
372
- },
+ TyBareFn(ref barefnty) => SawTyBareFn(barefnty.unsafety, barefnty.abi),
373
TyNever => SawTyNever,
374
TyTup(..) => SawTyTup,
375
TyPath(..) => SawTyPath,
0 commit comments