From 265f2fa4de8fee5ad2e2c21904e51622de2aec24 Mon Sep 17 00:00:00 2001 From: Irina Popa Date: Tue, 17 Jul 2018 18:26:58 +0300 Subject: rustc_codegen_llvm: fix tidy errors. --- src/librustc_codegen_llvm/debuginfo/create_scope_map.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/librustc_codegen_llvm/debuginfo') diff --git a/src/librustc_codegen_llvm/debuginfo/create_scope_map.rs b/src/librustc_codegen_llvm/debuginfo/create_scope_map.rs index 4d6744c516c..5273032f2d7 100644 --- a/src/librustc_codegen_llvm/debuginfo/create_scope_map.rs +++ b/src/librustc_codegen_llvm/debuginfo/create_scope_map.rs @@ -43,8 +43,11 @@ impl MirDebugScope<'ll> { /// 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(cx: &CodegenCx<'ll, '_>, mir: &Mir, debug_context: &FunctionDebugContext<'ll>) - -> IndexVec> { +pub fn create_mir_scopes( + cx: &CodegenCx<'ll, '_>, + mir: &Mir, + debug_context: &FunctionDebugContext<'ll>, +) -> IndexVec> { let null_scope = MirDebugScope { scope_metadata: None, file_start_pos: BytePos(0), -- cgit 1.4.1-3-g733a5