Skip to content

Commit

Permalink
Don't use "base place" for different concepts
Browse files Browse the repository at this point in the history
  • Loading branch information
oli-obk committed Jun 8, 2019
1 parent e5375b2 commit b137a47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc/mir/visit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 => {
Expand Down

0 comments on commit b137a47

Please sign in to comment.