rename BorrowKind::Shallow
to Fake
also adds some comments
This commit is contained in:
parent
a42eca42df
commit
992d93f687
30 changed files with 75 additions and 68 deletions
|
@ -455,7 +455,7 @@ impl<'tcx> Stable<'tcx> for mir::BorrowKind {
|
|||
use mir::BorrowKind::*;
|
||||
match *self {
|
||||
Shared => stable_mir::mir::BorrowKind::Shared,
|
||||
Shallow => stable_mir::mir::BorrowKind::Shallow,
|
||||
Fake => stable_mir::mir::BorrowKind::Fake,
|
||||
Mut { kind } => stable_mir::mir::BorrowKind::Mut { kind: kind.stable(tables) },
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue