aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-item.h
diff options
context:
space:
mode:
authorPhilip Herron <philip.herron@embecosm.com>2021-06-16 13:23:31 +0100
committerPhilip Herron <philip.herron@embecosm.com>2021-06-16 13:23:31 +0100
commit730a2174b933162c42843af43d85851b85d64144 (patch)
tree25b6519e73c5523dbee8a7b1d894ce9c83434913 /gcc/rust/backend/rust-compile-item.h
parent44481c1c2bdf7d160928dde30f48fdc54e75bf38 (diff)
downloadgcc-730a2174b933162c42843af43d85851b85d64144.zip
gcc-730a2174b933162c42843af43d85851b85d64144.tar.gz
gcc-730a2174b933162c42843af43d85851b85d64144.tar.bz2
Refactor HIR::InherentImpl to become HIR::ImplBlock
This folds the abstract Impl class directly into HIR::ImplBlock since the TraitImplBlock is removed. It also refactors InherentImplItem to become simply ImplItem.
Diffstat (limited to 'gcc/rust/backend/rust-compile-item.h')
-rw-r--r--gcc/rust/backend/rust-compile-item.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rust/backend/rust-compile-item.h b/gcc/rust/backend/rust-compile-item.h
index e3b6d0f..8a521e7 100644
--- a/gcc/rust/backend/rust-compile-item.h
+++ b/gcc/rust/backend/rust-compile-item.h
@@ -274,7 +274,7 @@ public:
ctx->push_function (fndecl);
}
- void visit (HIR::InherentImpl &impl_block) override
+ void visit (HIR::ImplBlock &impl_block) override
{
TyTy::BaseType *self_lookup = nullptr;
if (!ctx->get_tyctx ()->lookup_type (