Skip to content
Permalink
Browse files

Don't use "base place" for different concepts

  • Loading branch information...
oli-obk committed Jun 8, 2019
1 parent e5375b2 commit b137a4729fa6133e4977e3a356e22ffb50e30410
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/librustc/mir/visit.rs
@@ -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 => {

0 comments on commit b137a47

Please sign in to comment.
You can’t perform that action at this time.