diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-09-10 12:01:42 +1000 | 
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-09-13 15:36:55 +1000 | 
| commit | 606b9cb4066ba5649ab0fd9d29d86cc97a7b8950 (patch) | |
| tree | 2c3673f9109e64f9f7754daf4db2225e2758a6f4 /compiler/rustc_mir_dataflow/src | |
| parent | 072bf482c98d0f33d8456c6000babf315b63e104 (diff) | |
| download | rust-606b9cb4066ba5649ab0fd9d29d86cc97a7b8950.tar.gz rust-606b9cb4066ba5649ab0fd9d29d86cc97a7b8950.zip | |
Rename some lifetimes.
Giving them more typical names.
Diffstat (limited to 'compiler/rustc_mir_dataflow/src')
| -rw-r--r-- | compiler/rustc_mir_dataflow/src/elaborate_drops.rs | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/compiler/rustc_mir_dataflow/src/elaborate_drops.rs b/compiler/rustc_mir_dataflow/src/elaborate_drops.rs index d7e738b8829..c4d06cbb1b0 100644 --- a/compiler/rustc_mir_dataflow/src/elaborate_drops.rs +++ b/compiler/rustc_mir_dataflow/src/elaborate_drops.rs @@ -155,11 +155,11 @@ pub trait DropElaborator<'a, 'tcx>: fmt::Debug { } #[derive(Debug)] -struct DropCtxt<'l, 'b, 'tcx, D> +struct DropCtxt<'a, 'b, 'tcx, D> where D: DropElaborator<'b, 'tcx>, { - elaborator: &'l mut D, + elaborator: &'a mut D, source_info: SourceInfo, @@ -192,7 +192,7 @@ pub fn elaborate_drop<'b, 'tcx, D>( DropCtxt { elaborator, source_info, place, path, succ, unwind }.elaborate_drop(bb) } -impl<'l, 'b, 'tcx, D> DropCtxt<'l, 'b, 'tcx, D> +impl<'a, 'b, 'tcx, D> DropCtxt<'a, 'b, 'tcx, D> where D: DropElaborator<'b, 'tcx>, 'tcx: 'b, | 
