aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/ast/rust-expr.h
diff options
context:
space:
mode:
authorAndrew Pinski <quic_apinski@quicinc.com>2025-03-19 17:30:02 -0700
committerArthur Cohen <arthur.cohen@embecosm.com>2025-04-14 18:23:52 +0200
commit9e367223ce5c42e0598ef52637af34f74e14acc1 (patch)
tree8362fbf69a67e0ff880b8912cfdf47d6ee556466 /gcc/rust/ast/rust-expr.h
parentec2edeffedeaaeceecf8c85fded9fd2ee3c1aa52 (diff)
downloadgcc-9e367223ce5c42e0598ef52637af34f74e14acc1.zip
gcc-9e367223ce5c42e0598ef52637af34f74e14acc1.tar.gz
gcc-9e367223ce5c42e0598ef52637af34f74e14acc1.tar.bz2
rust: Add comment inside block [PR119342]
Inside a BLOCK node, all of the variables of the scope/block are chained together and that connects them to the block. This just adds a comment to that effect as reading the code it is not so obvious why they need to be chained together. gcc/rust/ChangeLog: PR rust/119342 * rust-gcc.cc (block): Add comment on why chaining the variables of the scope toether. Signed-off-by: Andrew Pinski <quic_apinski@quicinc.com>
Diffstat (limited to 'gcc/rust/ast/rust-expr.h')
0 files changed, 0 insertions, 0 deletions