Fix incorrect use mut diagnostics
This commit is contained in:
parent
604cbdcfdd
commit
c748f32ee4
14 changed files with 129 additions and 72 deletions
|
@ -143,7 +143,7 @@ pub(super) fn borrow_of_local_data(place: Place<'_>) -> bool {
|
|||
/// of a closure type.
|
||||
pub(crate) fn is_upvar_field_projection(
|
||||
tcx: TyCtxt<'tcx>,
|
||||
upvars: &[Upvar],
|
||||
upvars: &[Upvar<'tcx>],
|
||||
place_ref: PlaceRef<'tcx>,
|
||||
body: &Body<'tcx>,
|
||||
) -> Option<Field> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue