Separate the mir body lifetime from the other lifetimes
This commit is contained in:
parent
1c4d0ced58
commit
8fc6b3de19
13 changed files with 70 additions and 61 deletions
|
@ -30,7 +30,7 @@ pub(crate) enum AccessKind {
|
|||
Mutate,
|
||||
}
|
||||
|
||||
impl<'a, 'tcx> MirBorrowckCtxt<'a, '_, 'tcx> {
|
||||
impl<'tcx> MirBorrowckCtxt<'_, '_, '_, 'tcx> {
|
||||
pub(crate) fn report_mutability_error(
|
||||
&mut self,
|
||||
access_place: Place<'tcx>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue