Home
last modified time | relevance | path

Searched refs:is_upvar_field_projection (Results 1 – 6 of 6) sorted by relevance

/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_borrowck/src/diagnostics/
H A Dmove_errors.rs244 self.is_upvar_field_projection(original_path.as_ref()) in report()
303 .find_map(|p| self.is_upvar_field_projection(p)); in report_cannot_move_from_borrowed_content()
356 if self.is_upvar_field_projection(move_place.as_ref()).is_some() { in report_cannot_move_from_borrowed_content()
H A Dmod.rs216 let upvar_field_projection = self.is_upvar_field_projection(place); in append_place_to_string()
261 let upvar_field_projection = self.is_upvar_field_projection(place); in append_place_to_string()
H A Dmutability_errors.rs87 if self.is_upvar_field_projection(access_place.as_ref()).is_some() { in report_mutability_error()
138 reason = if self.is_upvar_field_projection(access_place.as_ref()).is_some() { in report_mutability_error()
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_borrowck/src/
H A Dpath_utils.rs144 pub(crate) fn is_upvar_field_projection( in is_upvar_field_projection() function
H A Dlib.rs1439 if let Some(field) = this.is_upvar_field_projection(place.as_ref()) { in propagate_closure_used_mut_upvar()
1456 if let Some(field) = this.is_upvar_field_projection(place_ref) { in propagate_closure_used_mut_upvar()
2210 if let Some(field) = self.is_upvar_field_projection(PlaceRef { in add_used_mut()
2266 let mode = match self.is_upvar_field_projection(place) { in is_mutable()
2305 let upvar_field_projection = self.is_upvar_field_projection(place); in is_mutable()
2369 fn is_upvar_field_projection(&self, place_ref: PlaceRef<'tcx>) -> Option<Field> { in is_upvar_field_projection() method
2370 path_utils::is_upvar_field_projection(self.infcx.tcx, &self.upvars, place_ref, self.body()) in is_upvar_field_projection()
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_borrowck/src/type_check/
H A Dmod.rs2518 let field = path_utils::is_upvar_field_projection( in add_reborrow_constraint()