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
committerArthur Cohen <arthur.cohen@embecosm.com>2025-03-21 12:56:57 +0100
commitc0681b527a0142c59cd737e1d140bdaf2a782f3d (patch)
tree8f6aba8617d6e12dacf2b16d051131a3401d6823 /gcc/rust/parse/rust-parse-impl.h
parent29367fe699afe6a385e311b90f9c3850b19744ac (diff)
downloadgcc-c0681b527a0142c59cd737e1d140bdaf2a782f3d.zip
gcc-c0681b527a0142c59cd737e1d140bdaf2a782f3d.tar.gz
gcc-c0681b527a0142c59cd737e1d140bdaf2a782f3d.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