From b137a4729fa6133e4977e3a356e22ffb50e30410 Mon Sep 17 00:00:00 2001 From: Oliver Scherer Date: Sat, 8 Jun 2019 23:24:37 +0200 Subject: [PATCH] Don't use "base place" for different concepts --- src/librustc/mir/visit.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustc/mir/visit.rs b/src/librustc/mir/visit.rs index a5793a3ca1f8..b48fc3a83b03 100644 --- a/src/librustc/mir/visit.rs +++ b/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 => {