diff options
author | Philip Herron <philip.herron@embecosm.com> | 2021-06-16 13:23:31 +0100 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2021-06-16 13:23:31 +0100 |
commit | 730a2174b933162c42843af43d85851b85d64144 (patch) | |
tree | 25b6519e73c5523dbee8a7b1d894ce9c83434913 /gcc/rust/backend/rust-compile-base.h | |
parent | 44481c1c2bdf7d160928dde30f48fdc54e75bf38 (diff) | |
download | gcc-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-base.h')
-rw-r--r-- | gcc/rust/backend/rust-compile-base.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rust/backend/rust-compile-base.h b/gcc/rust/backend/rust-compile-base.h index 29e7562..232d5b9 100644 --- a/gcc/rust/backend/rust-compile-base.h +++ b/gcc/rust/backend/rust-compile-base.h @@ -147,7 +147,7 @@ public: virtual void visit (HIR::TraitItemConst &item) {} virtual void visit (HIR::TraitItemType &item) {} virtual void visit (HIR::Trait &trait) {} - virtual void visit (HIR::InherentImpl &impl) {} + virtual void visit (HIR::ImplBlock &impl) {} virtual void visit (HIR::ExternalStaticItem &item) {} virtual void visit (HIR::ExternalFunctionItem &item) {} |