about summary refs log tree commit diff
path: root/src/librustc_codegen_llvm/debuginfo/utils.rs
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-02-25 08:40:18 +0100
committerMazdak Farrokhzad <twingoow@gmail.com>2019-02-25 08:40:18 +0100
commit9661a819688443b19dad91b85a4898a01a7b0858 (patch)
tree89393fa0bb2504af29a2a6900398f88d42403845 /src/librustc_codegen_llvm/debuginfo/utils.rs
parentc1911babed0364ede7dedc646dbca63fac03d5c5 (diff)
downloadrust-9661a819688443b19dad91b85a4898a01a7b0858.tar.gz
rust-9661a819688443b19dad91b85a4898a01a7b0858.zip
librustc_codegen_llvm: deny(elided_lifetimes_in_paths)
Diffstat (limited to 'src/librustc_codegen_llvm/debuginfo/utils.rs')
-rw-r--r--src/librustc_codegen_llvm/debuginfo/utils.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc_codegen_llvm/debuginfo/utils.rs b/src/librustc_codegen_llvm/debuginfo/utils.rs
index e1b299df6c3..c64e0d9806b 100644
--- a/src/librustc_codegen_llvm/debuginfo/utils.rs
+++ b/src/librustc_codegen_llvm/debuginfo/utils.rs
@@ -13,7 +13,7 @@ use rustc_codegen_ssa::traits::*;
 
 use syntax_pos::Span;
 
-pub fn is_node_local_to_unit(cx: &CodegenCx, def_id: DefId) -> bool
+pub fn is_node_local_to_unit(cx: &CodegenCx<'_, '_>, def_id: DefId) -> bool
 {
     // The is_local_to_unit flag indicates whether a function is local to the
     // current compilation unit (i.e., if it is *static* in the C-sense). The
@@ -37,7 +37,7 @@ pub fn create_DIArray(
 }
 
 /// Returns syntax_pos::Loc corresponding to the beginning of the span
-pub fn span_start(cx: &CodegenCx, span: Span) -> syntax_pos::Loc {
+pub fn span_start(cx: &CodegenCx<'_, '_>, span: Span) -> syntax_pos::Loc {
     cx.sess().source_map().lookup_char_pos(span.lo())
 }