@@ -98,7 +98,7 @@ pub struct TypeckResults<'tcx> {
9898
9999 /// Set of reference patterns that match against a match-ergonomics inserted reference
100100 /// (as opposed to against a reference in the scrutinee type).
101- ref_pats_that_dont_deref : ItemLocalSet ,
101+ skipped_ref_pats : ItemLocalSet ,
102102
103103 /// Records the reasons that we picked the kind of each closure;
104104 /// not all closures are present in the map.
@@ -232,7 +232,7 @@ impl<'tcx> TypeckResults<'tcx> {
232232 adjustments : Default :: default ( ) ,
233233 pat_binding_modes : Default :: default ( ) ,
234234 pat_adjustments : Default :: default ( ) ,
235- ref_pats_that_dont_deref : Default :: default ( ) ,
235+ skipped_ref_pats : Default :: default ( ) ,
236236 closure_kind_origins : Default :: default ( ) ,
237237 liberated_fn_sigs : Default :: default ( ) ,
238238 fru_field_types : Default :: default ( ) ,
@@ -440,12 +440,12 @@ impl<'tcx> TypeckResults<'tcx> {
440440 LocalTableInContextMut { hir_owner : self . hir_owner , data : & mut self . pat_adjustments }
441441 }
442442
443- pub fn ref_pats_that_dont_deref ( & self ) -> LocalSetInContext < ' _ > {
444- LocalSetInContext { hir_owner : self . hir_owner , data : & self . ref_pats_that_dont_deref }
443+ pub fn skipped_ref_pats ( & self ) -> LocalSetInContext < ' _ > {
444+ LocalSetInContext { hir_owner : self . hir_owner , data : & self . skipped_ref_pats }
445445 }
446446
447- pub fn ref_pats_that_dont_deref_mut ( & mut self ) -> LocalSetInContextMut < ' _ > {
448- LocalSetInContextMut { hir_owner : self . hir_owner , data : & mut self . ref_pats_that_dont_deref }
447+ pub fn skipped_ref_pats_mut ( & mut self ) -> LocalSetInContextMut < ' _ > {
448+ LocalSetInContextMut { hir_owner : self . hir_owner , data : & mut self . skipped_ref_pats }
449449 }
450450
451451 /// Does the pattern recursively contain a `ref mut` binding in it?
0 commit comments