From: Arthur Cohen <[email protected]>

gcc/rust/ChangeLog:

        * checks/errors/feature/rust-feature-gate.cc (FeatureGate::visit): Add 
missing call to
        default visitor for ExternType items.
---
This change was merged into the gccrs repository and is posted here for
upstream visibility and potential drive-by review, as requested by GCC
release managers.
Each commit email contains a link to its details on github from where you can
find the Pull-Request and associated discussions.


Commit on github: 
https://github.com/Rust-GCC/gccrs/commit/ede1e4e90a9e2936fb3cb5fcaea020c5d9b69210

The commit has NOT been mentioned in any issue.

The commit has been mentioned in the following pull-request(s):
 - https://github.com/Rust-GCC/gccrs/pull/4841

 gcc/rust/checks/errors/feature/rust-feature-gate.cc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gcc/rust/checks/errors/feature/rust-feature-gate.cc 
b/gcc/rust/checks/errors/feature/rust-feature-gate.cc
index 4cb4583f7..6b481fafa 100644
--- a/gcc/rust/checks/errors/feature/rust-feature-gate.cc
+++ b/gcc/rust/checks/errors/feature/rust-feature-gate.cc
@@ -262,6 +262,8 @@ FeatureGate::visit (AST::ExternalTypeItem &item)
   // `AST::ExternalTypeItem`.
   gate (Feature::Name::EXTERN_TYPES, item.get_locus (),
        "extern types are experimental");
+
+  AST::DefaultASTVisitor::visit (item);
 }
 
 void

base-commit: 0c3711b3e1a7771032351e99db617e27c719deae
-- 
2.55.0

Reply via email to