From 12ccff99bf254fe3721ad389953eb53b723872e4 Mon Sep 17 00:00:00 2001 From: Jan-Erik Rediger Date: Thu, 14 Jul 2016 19:28:54 +0200 Subject: [PATCH] Use relative path to type --- src/librustc_trans/debuginfo/metadata.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustc_trans/debuginfo/metadata.rs b/src/librustc_trans/debuginfo/metadata.rs index 1119ee07230eb..09059cc378aca 100644 --- a/src/librustc_trans/debuginfo/metadata.rs +++ b/src/librustc_trans/debuginfo/metadata.rs @@ -1030,7 +1030,7 @@ pub fn compile_unit_metadata(scc: &SharedCrateContext, split_name.as_ptr() as *const _) }; - fn fallback_path(scc: &::context::SharedCrateContext) -> CString { + fn fallback_path(scc: &SharedCrateContext) -> CString { CString::new(scc.link_meta().crate_name.clone()).unwrap() } }