diff options
author | Owen Avery <powerboat9.gamer@gmail.com> | 2025-01-02 05:29:03 -0500 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2025-03-21 12:55:45 +0100 |
commit | c583545a9adaba0ab9d369f82b5f9bb1577e5f6e (patch) | |
tree | 3bd07d0f26bb78fdccbf302a98fd004cffff7b8c /gcc/rust/resolve/rust-toplevel-name-resolver-2.0.h | |
parent | 161b9e9828b84b75f64aa0ffdadcefe920c1ed0d (diff) | |
download | gcc-c583545a9adaba0ab9d369f82b5f9bb1577e5f6e.zip gcc-c583545a9adaba0ab9d369f82b5f9bb1577e5f6e.tar.gz gcc-c583545a9adaba0ab9d369f82b5f9bb1577e5f6e.tar.bz2 |
gccrs: nr2.0: Resolve type aliases inside trait definitions
gcc/rust/ChangeLog:
* resolve/rust-toplevel-name-resolver-2.0.cc
(TopLevel::visit): Add visitor for TraitItemType.
* resolve/rust-toplevel-name-resolver-2.0.h
(TopLevel::visit): Likewise.
gcc/testsuite/ChangeLog:
* rust/compile/nr2/exclude: Remove entries.
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 7f4e295..f540ab9 100644 --- a/gcc/rust/resolve/rust-toplevel-name-resolver-2.0.h +++ b/gcc/rust/resolve/rust-toplevel-name-resolver-2.0.h @@ -148,6 +148,7 @@ private: void visit (AST::Module &module) override; void visit (AST::Trait &trait) override; + void visit (AST::TraitItemType &trait_item) override; void visit (AST::MacroRulesDefinition ¯o) override; void visit (AST::Function &function) override; void visit (AST::BlockExpr &expr) override; |