]> git.proxmox.com Git - rustc.git/blobdiff - compiler/rustc_middle/src/hir/place.rs
New upstream version 1.51.0+dfsg1
[rustc.git] / compiler / rustc_middle / src / hir / place.rs
index 1e2e9df88c584e40ceca08ee97db682d60d5d315..00db19019c480d690023a13d2ecd605f23762d51 100644 (file)
@@ -110,10 +110,7 @@ impl<'tcx> PlaceWithHirId<'tcx> {
         base: PlaceBase,
         projections: Vec<Projection<'tcx>>,
     ) -> PlaceWithHirId<'tcx> {
-        PlaceWithHirId {
-            hir_id: hir_id,
-            place: Place { base_ty: base_ty, base: base, projections: projections },
-        }
+        PlaceWithHirId { hir_id, place: Place { base_ty, base, projections } }
     }
 }