diff options
| author | Santiago Pastorino <spastorino@gmail.com> | 2020-03-02 22:02:52 -0300 |
|---|---|---|
| committer | Santiago Pastorino <spastorino@gmail.com> | 2020-03-02 22:02:52 -0300 |
| commit | 812e62f14609fe80c49664f8b4ee5678c126c4a3 (patch) | |
| tree | 1db7e9871279ed48e083b843e455918d9d38fcbc | |
| parent | 7859f0eac3b70fea1f129665d0b9f4c56769fa4c (diff) | |
| download | rust-812e62f14609fe80c49664f8b4ee5678c126c4a3.tar.gz rust-812e62f14609fe80c49664f8b4ee5678c126c4a3.zip | |
Make PlaceRef lifetimes of LocalAnalyzer::process_place be both 'tcx
| -rw-r--r-- | src/librustc_codegen_ssa/mir/analyze.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_codegen_ssa/mir/analyze.rs b/src/librustc_codegen_ssa/mir/analyze.rs index 7bf222f4701..6214aa84b81 100644 --- a/src/librustc_codegen_ssa/mir/analyze.rs +++ b/src/librustc_codegen_ssa/mir/analyze.rs @@ -97,7 +97,7 @@ impl<Bx: BuilderMethods<'a, 'tcx>> LocalAnalyzer<'mir, 'a, 'tcx, Bx> { fn process_place( &mut self, - place_ref: &mir::PlaceRef<'_, 'tcx>, + place_ref: &mir::PlaceRef<'tcx, 'tcx>, context: PlaceContext, location: Location, ) { |
