diff options
| author | Mark Simulacrum <mark.simulacrum@gmail.com> | 2016-12-18 10:18:47 -0700 |
|---|---|---|
| committer | Mark Simulacrum <mark.simulacrum@gmail.com> | 2016-12-20 20:03:32 -0700 |
| commit | fc8c280fbc5eb7af126857a7fc18952f042be92c (patch) | |
| tree | 1a33f4df92e641c13a2712d9cb6b441a122bf072 /src | |
| parent | a802b9f75fc7ac6985cb6b865fbc503584f139b6 (diff) | |
| download | rust-fc8c280fbc5eb7af126857a7fc18952f042be92c.tar.gz rust-fc8c280fbc5eb7af126857a7fc18952f042be92c.zip | |
Remove lifetime parameter
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc_trans/debuginfo/create_scope_map.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/librustc_trans/debuginfo/create_scope_map.rs b/src/librustc_trans/debuginfo/create_scope_map.rs index 0f20ed285b6..b1fdb074274 100644 --- a/src/librustc_trans/debuginfo/create_scope_map.rs +++ b/src/librustc_trans/debuginfo/create_scope_map.rs @@ -44,10 +44,8 @@ impl MirDebugScope { /// Produce DIScope DIEs for each MIR Scope which has variables defined in it. /// If debuginfo is disabled, the returned vector is empty. -pub fn create_mir_scopes<'tcx>( - fcx: &FunctionContext, - mir: &'tcx Mir<'tcx>, -) -> IndexVec<VisibilityScope, MirDebugScope> { +pub fn create_mir_scopes(fcx: &FunctionContext, mir: &Mir) + -> IndexVec<VisibilityScope, MirDebugScope> { let null_scope = MirDebugScope { scope_metadata: ptr::null_mut(), file_start_pos: BytePos(0), |
