Remove region from adjustments
This commit is contained in:
parent
9f57edf2e2
commit
599ffab6cd
18 changed files with 65 additions and 64 deletions
|
@ -551,10 +551,7 @@ impl<'a, 'tcx> TypeErrCtxt<'a, 'tcx> {
|
|||
] => "",
|
||||
[
|
||||
..,
|
||||
Adjustment {
|
||||
kind: Adjust::Borrow(AutoBorrow::Ref(_, mut_)),
|
||||
target: _,
|
||||
},
|
||||
Adjustment { kind: Adjust::Borrow(AutoBorrow::Ref(mut_)), target: _ },
|
||||
] => hir::Mutability::from(*mut_).ref_prefix_str(),
|
||||
_ => "",
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue