Replaced Codegen field access by trait method
This commit is contained in:
parent
8714e6bce6
commit
d325844804
16 changed files with 247 additions and 247 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue