@@ -98,7 +98,7 @@ pub struct TypeckResults<'tcx> {
98
98
99
99
/// Set of reference patterns that match against a match-ergonomics inserted reference
100
100
/// (as opposed to against a reference in the scrutinee type).
101
- ref_pats_that_dont_deref : ItemLocalSet ,
101
+ skipped_ref_pats : ItemLocalSet ,
102
102
103
103
/// Records the reasons that we picked the kind of each closure;
104
104
/// not all closures are present in the map.
@@ -232,7 +232,7 @@ impl<'tcx> TypeckResults<'tcx> {
232
232
adjustments : Default :: default ( ) ,
233
233
pat_binding_modes : Default :: default ( ) ,
234
234
pat_adjustments : Default :: default ( ) ,
235
- ref_pats_that_dont_deref : Default :: default ( ) ,
235
+ skipped_ref_pats : Default :: default ( ) ,
236
236
closure_kind_origins : Default :: default ( ) ,
237
237
liberated_fn_sigs : Default :: default ( ) ,
238
238
fru_field_types : Default :: default ( ) ,
@@ -440,12 +440,12 @@ impl<'tcx> TypeckResults<'tcx> {
440
440
LocalTableInContextMut { hir_owner : self . hir_owner , data : & mut self . pat_adjustments }
441
441
}
442
442
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 }
445
445
}
446
446
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 }
449
449
}
450
450
451
451
/// Does the pattern recursively contain a `ref mut` binding in it?
0 commit comments