Don't use "base place" for different concepts
This commit is contained in:
parent
e5375b293e
commit
b137a4729f
1 changed files with 1 additions and 1 deletions
|
|
@ -712,7 +712,7 @@ macro_rules! make_mir_visitor {
|
|||
location: Location) {
|
||||
// this is calling `super_place` in preparation for changing `Place` to be
|
||||
// a struct with a base and a slice of projections. `visit_place` should only ever
|
||||
// be called for the base place now.
|
||||
// be called for the outermost place now.
|
||||
self.super_place(& $($mutability)? proj.base, context, location);
|
||||
match & $($mutability)? proj.elem {
|
||||
ProjectionElem::Deref => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue