diff options
Diffstat (limited to 'src/librustc_codegen_llvm/debuginfo/mod.rs')
| -rw-r--r-- | src/librustc_codegen_llvm/debuginfo/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_codegen_llvm/debuginfo/mod.rs b/src/librustc_codegen_llvm/debuginfo/mod.rs index b7f70a67491..0ee51f1956b 100644 --- a/src/librustc_codegen_llvm/debuginfo/mod.rs +++ b/src/librustc_codegen_llvm/debuginfo/mod.rs @@ -494,7 +494,7 @@ pub fn declare_local( span: Span, ) { assert!(!dbg_context.get_ref(span).source_locations_enabled.get()); - let cx = bx.cx; + let cx = bx.cx(); let file = span_start(cx, span).file; let file_metadata = file_metadata(cx, |
