diff options
Diffstat (limited to 'gcc/rust/hir/rust-ast-lower-base.cc')
-rw-r--r-- | gcc/rust/hir/rust-ast-lower-base.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rust/hir/rust-ast-lower-base.cc b/gcc/rust/hir/rust-ast-lower-base.cc index b0d9d80..e8e436a 100644 --- a/gcc/rust/hir/rust-ast-lower-base.cc +++ b/gcc/rust/hir/rust-ast-lower-base.cc @@ -679,7 +679,7 @@ struct_field_name_exists (std::vector<HIR::StructField> &fields, new_field.get_field_name ().as_string ()) == 0) { - RichLocation r (line_table, new_field.get_locus ()); + rich_location r (line_table, new_field.get_locus ()); r.add_range (field.get_locus ()); rust_error_at (r, ErrorCode ("E0124"), "field %qs is already declared", |