diff options
| author | Irina Popa <irinagpopa@gmail.com> | 2018-07-17 18:26:58 +0300 |
|---|---|---|
| committer | Irina Popa <irinagpopa@gmail.com> | 2018-07-30 20:35:08 +0300 |
| commit | 265f2fa4de8fee5ad2e2c21904e51622de2aec24 (patch) | |
| tree | 71c40df2e1a7c013222b475141f8445a352cc346 /src/librustc_codegen_llvm/debuginfo | |
| parent | ba006440eeae07cb6d6285a6b64f4374754d2300 (diff) | |
| download | rust-265f2fa4de8fee5ad2e2c21904e51622de2aec24.tar.gz rust-265f2fa4de8fee5ad2e2c21904e51622de2aec24.zip | |
rustc_codegen_llvm: fix tidy errors.
Diffstat (limited to 'src/librustc_codegen_llvm/debuginfo')
| -rw-r--r-- | src/librustc_codegen_llvm/debuginfo/create_scope_map.rs | 7 |
1 files changed, 5 insertions, 2 deletions
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<SourceScope, MirDebugScope<'ll>> { +pub fn create_mir_scopes( + cx: &CodegenCx<'ll, '_>, + mir: &Mir, + debug_context: &FunctionDebugContext<'ll>, +) -> IndexVec<SourceScope, MirDebugScope<'ll>> { let null_scope = MirDebugScope { scope_metadata: None, file_start_pos: BytePos(0), |
