aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/resolve/rust-ast-resolve-item.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/rust/resolve/rust-ast-resolve-item.h')
-rw-r--r--gcc/rust/resolve/rust-ast-resolve-item.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/rust/resolve/rust-ast-resolve-item.h b/gcc/rust/resolve/rust-ast-resolve-item.h
index bc05e93..d3c053b 100644
--- a/gcc/rust/resolve/rust-ast-resolve-item.h
+++ b/gcc/rust/resolve/rust-ast-resolve-item.h
@@ -400,9 +400,9 @@ public:
auto Self
= CanonicalPath::get_big_self (impl_block.get_type ()->get_node_id ());
- resolver->get_type_scope ().insert (
- Self, impl_block.get_type ()->get_node_id (),
- impl_block.get_type ()->get_locus_slow ());
+ resolver->get_type_scope ().insert (Self,
+ impl_block.get_type ()->get_node_id (),
+ impl_block.get_type ()->get_locus ());
for (auto &impl_item : impl_block.get_impl_items ())
{
@@ -519,9 +519,9 @@ public:
auto Self
= CanonicalPath::get_big_self (impl_block.get_type ()->get_node_id ());
- resolver->get_type_scope ().insert (
- Self, impl_block.get_type ()->get_node_id (),
- impl_block.get_type ()->get_locus_slow ());
+ resolver->get_type_scope ().insert (Self,
+ impl_block.get_type ()->get_node_id (),
+ impl_block.get_type ()->get_locus ());
for (auto &impl_item : impl_block.get_impl_items ())
{