diff options
Diffstat (limited to 'gcc/rust/hir/rust-ast-lower-implitem.h')
-rw-r--r-- | gcc/rust/hir/rust-ast-lower-implitem.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/rust/hir/rust-ast-lower-implitem.h b/gcc/rust/hir/rust-ast-lower-implitem.h index 53cb8ea..9aef2cb 100644 --- a/gcc/rust/hir/rust-ast-lower-implitem.h +++ b/gcc/rust/hir/rust-ast-lower-implitem.h @@ -153,7 +153,7 @@ public: generic_params = lower_generic_params (function.get_generic_params ()); } Identifier function_name = function.get_function_name (); - Location locus = function.get_locus (); + location_t locus = function.get_locus (); std::unique_ptr<HIR::Type> return_type = function.has_return_type () ? std::unique_ptr<HIR::Type> ( @@ -237,7 +237,7 @@ public: generic_params = lower_generic_params (method.get_generic_params ()); } Identifier method_name = method.get_method_name (); - Location locus = method.get_locus (); + location_t locus = method.get_locus (); HIR::SelfParam self_param = lower_self (method.get_self_param ()); |