]> git.lizzy.rs Git - rust.git/commitdiff
Remove lifetime parameter
authorMark Simulacrum <mark.simulacrum@gmail.com>
Sun, 18 Dec 2016 17:18:47 +0000 (10:18 -0700)
committerMark Simulacrum <mark.simulacrum@gmail.com>
Wed, 21 Dec 2016 03:03:32 +0000 (20:03 -0700)
src/librustc_trans/debuginfo/create_scope_map.rs

index 0f20ed285b60e6ba747a4b801ac8f36cb130627d..b1fdb07427425061aeda28a83790aafb0272234c 100644 (file)
@@ -44,10 +44,8 @@ pub fn is_valid(&self) -> bool {
 
 /// 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),