aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/typecheck/rust-hir-inherent-impl-overlap.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/rust/typecheck/rust-hir-inherent-impl-overlap.h')
-rw-r--r--gcc/rust/typecheck/rust-hir-inherent-impl-overlap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rust/typecheck/rust-hir-inherent-impl-overlap.h b/gcc/rust/typecheck/rust-hir-inherent-impl-overlap.h
index abb93ca..a9edc42 100644
--- a/gcc/rust/typecheck/rust-hir-inherent-impl-overlap.h
+++ b/gcc/rust/typecheck/rust-hir-inherent-impl-overlap.h
@@ -33,7 +33,7 @@ public:
OverlappingImplItemPass pass;
// generate mappings
- pass.mappings->iterate_impl_items (
+ pass.mappings.iterate_impl_items (
[&] (HirId id, HIR::ImplItem *impl_item, HIR::ImplBlock *impl) -> bool {
// ignoring trait-impls might need thought later on
if (impl->has_trait_ref ())