diff options
Diffstat (limited to 'gcc/rust/hir/rust-ast-lower-struct-field-expr.h')
-rw-r--r-- | gcc/rust/hir/rust-ast-lower-struct-field-expr.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/rust/hir/rust-ast-lower-struct-field-expr.h b/gcc/rust/hir/rust-ast-lower-struct-field-expr.h index 3b313a7..e6322db 100644 --- a/gcc/rust/hir/rust-ast-lower-struct-field-expr.h +++ b/gcc/rust/hir/rust-ast-lower-struct-field-expr.h @@ -41,8 +41,7 @@ public: compiler.translated->get_mappings ().get_hirid (), compiler.translated); compiler.mappings->insert_location ( compiler.translated->get_mappings ().get_crate_num (), - compiler.translated->get_mappings ().get_hirid (), - field->get_locus_slow ()); + compiler.translated->get_mappings ().get_hirid (), field->get_locus ()); return compiler.translated; } |