aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/parse/rust-parse-impl.h
diff options
context:
space:
mode:
authorPhilip Herron <herron.philip@googlemail.com>2025-01-13 11:51:51 +0000
committerPhilip Herron <philip.herron@embecosm.com>2025-01-13 13:13:19 +0000
commit0a935444fbf9e99c7a3eff026e2a7ab910e77151 (patch)
tree5ecdf9959186d46547708b720795ffda009b1222 /gcc/rust/parse/rust-parse-impl.h
parent5db9ab5426ab234ed9cda01ceebc444c90631f6a (diff)
downloadgcc-0a935444fbf9e99c7a3eff026e2a7ab910e77151.zip
gcc-0a935444fbf9e99c7a3eff026e2a7ab910e77151.tar.gz
gcc-0a935444fbf9e99c7a3eff026e2a7ab910e77151.tar.bz2
gccrs: Add missing name resolution to static items in blocks
We need to add name resolution and hir lowering for items as part of blocks in order to typecheck and compile them correctly. Fixes Rust-GCC#3350 gcc/rust/ChangeLog: * hir/rust-ast-lower-stmt.cc (ASTLoweringStmt::visit): hir lowering * hir/rust-ast-lower-stmt.h: likewise * resolve/rust-ast-resolve-stmt.cc (ResolveStmt::visit): name resolution * resolve/rust-ast-resolve-stmt.h: likewise gcc/testsuite/ChangeLog: * rust/compile/issue-3350.rs: New test. Signed-off-by: Philip Herron <herron.philip@googlemail.com>
Diffstat (limited to 'gcc/rust/parse/rust-parse-impl.h')
0 files changed, 0 insertions, 0 deletions