about summary refs log tree commit diff
path: root/src/librustc_codegen_llvm/debuginfo
diff options
context:
space:
mode:
authorEduard-Mihai Burtescu <edy.burt@gmail.com>2019-06-12 00:11:55 +0300
committerEduard-Mihai Burtescu <edy.burt@gmail.com>2019-06-12 13:38:28 +0300
commitfff08cb04389497d254fb40948674cbbee402908 (patch)
treeacf887abc09ef60cbd7e18e733da83c50a4f3939 /src/librustc_codegen_llvm/debuginfo
parent21ac960334485bfad6818510bc12dc65129f2c39 (diff)
downloadrust-fff08cb04389497d254fb40948674cbbee402908.tar.gz
rust-fff08cb04389497d254fb40948674cbbee402908.zip
Run `rustfmt --file-lines ...` for changes from previous commits.
Diffstat (limited to 'src/librustc_codegen_llvm/debuginfo')
-rw-r--r--src/librustc_codegen_llvm/debuginfo/metadata.rs9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/librustc_codegen_llvm/debuginfo/metadata.rs b/src/librustc_codegen_llvm/debuginfo/metadata.rs
index 4fad236c32d..c4d9f79e8d3 100644
--- a/src/librustc_codegen_llvm/debuginfo/metadata.rs
+++ b/src/librustc_codegen_llvm/debuginfo/metadata.rs
@@ -894,10 +894,11 @@ fn pointer_type_metadata(
     }
 }
 
-pub fn compile_unit_metadata(tcx: TyCtxt<'_, '_>,
-                             codegen_unit_name: &str,
-                             debug_context: &CrateDebugContext<'ll, '_>)
-                             -> &'ll DIDescriptor {
+pub fn compile_unit_metadata(
+    tcx: TyCtxt<'_, '_>,
+    codegen_unit_name: &str,
+    debug_context: &CrateDebugContext<'ll, '_>,
+) -> &'ll DIDescriptor {
     let mut name_in_debuginfo = match tcx.sess.local_crate_source_file {
         Some(ref path) => path.clone(),
         None => PathBuf::from(&*tcx.crate_name(LOCAL_CRATE).as_str()),