diff options
author | Owen Avery <powerboat9.gamer@gmail.com> | 2024-10-15 22:10:35 -0400 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2025-03-19 15:32:17 +0100 |
commit | 225748e0f12ea94181560d9cc6bc18a877e6addc (patch) | |
tree | 26b397e2d378d2f1b5f09acee256c27c97f5ef31 /gcc/rust/resolve/rust-toplevel-name-resolver-2.0.h | |
parent | c7e00b1e8757f44e2afdb0263c6f0400e44a1f95 (diff) | |
download | gcc-225748e0f12ea94181560d9cc6bc18a877e6addc.zip gcc-225748e0f12ea94181560d9cc6bc18a877e6addc.tar.gz gcc-225748e0f12ea94181560d9cc6bc18a877e6addc.tar.bz2 |
gccrs: Handle const generic parameters during resolution 2.0
gcc/rust/ChangeLog:
* resolve/rust-toplevel-name-resolver-2.0.cc
(TopLevel::visit): Handle ConstGenericParam.
* resolve/rust-toplevel-name-resolver-2.0.h
(TopLevel::visit): Likewise.
Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
Diffstat (limited to 'gcc/rust/resolve/rust-toplevel-name-resolver-2.0.h')
-rw-r--r-- | gcc/rust/resolve/rust-toplevel-name-resolver-2.0.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/rust/resolve/rust-toplevel-name-resolver-2.0.h b/gcc/rust/resolve/rust-toplevel-name-resolver-2.0.h index cc301ed..e9e0306 100644 --- a/gcc/rust/resolve/rust-toplevel-name-resolver-2.0.h +++ b/gcc/rust/resolve/rust-toplevel-name-resolver-2.0.h @@ -164,6 +164,7 @@ private: void visit (AST::TypeAlias &type_item) override; void visit (AST::ExternCrate &crate) override; void visit (AST::TypeParam &type_param) override; + void visit (AST::ConstGenericParam &const_param) override; void visit (AST::UseDeclaration &use) override; }; |