X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=compiler%2Frustc_mir_transform%2Fsrc%2Fdest_prop.rs;h=08e296a837127b72911b152275b7c242ca47d0f9;hb=c52d58f346aea2e2e7ed650ee95785d33500a6d0;hp=74d8337653f034f968ea516556563ebd1dc068c1;hpb=3e58de240c2a2e9b71d93f2d9f2d0c7e82ab345a;p=rust.git diff --git a/compiler/rustc_mir_transform/src/dest_prop.rs b/compiler/rustc_mir_transform/src/dest_prop.rs index 74d8337653f..08e296a8371 100644 --- a/compiler/rustc_mir_transform/src/dest_prop.rs +++ b/compiler/rustc_mir_transform/src/dest_prop.rs @@ -658,7 +658,7 @@ fn for_terminator<'tcx>(&mut self, terminator: &TerminatorKind<'tcx>) { } } - fn add_place<'tcx>(&mut self, place: Place<'tcx>) { + fn add_place(&mut self, place: Place<'_>) { self.writes.push(place.local); }