diff options
| author | Eduard-Mihai Burtescu <edy.burt@gmail.com> | 2019-06-12 00:11:55 +0300 |
|---|---|---|
| committer | Eduard-Mihai Burtescu <edy.burt@gmail.com> | 2019-06-12 13:38:28 +0300 |
| commit | fff08cb04389497d254fb40948674cbbee402908 (patch) | |
| tree | acf887abc09ef60cbd7e18e733da83c50a4f3939 /src/librustc_codegen_llvm/debuginfo | |
| parent | 21ac960334485bfad6818510bc12dc65129f2c39 (diff) | |
| download | rust-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.rs | 9 |
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()), |
