aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/resolve/rust-ast-resolve-expr.cc
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2025-04-01 16:10:38 +0200
committerArthur Cohen <arthur.cohen@embecosm.com>2025-04-08 10:17:18 +0200
commit3cf4d5cb996a062a22fe6fb496a622ec7519bd65 (patch)
tree3b224308c8680d776ff529744658e52946b761c1 /gcc/rust/resolve/rust-ast-resolve-expr.cc
parenta3148850a5ac0640b0b352a387e6df5c958861a9 (diff)
downloadgcc-3cf4d5cb996a062a22fe6fb496a622ec7519bd65.zip
gcc-3cf4d5cb996a062a22fe6fb496a622ec7519bd65.tar.gz
gcc-3cf4d5cb996a062a22fe6fb496a622ec7519bd65.tar.bz2
gccrs: Update ast visitor with proper check for looplabel
The visitor was visiting loop label even when they did not exist. gcc/rust/ChangeLog: * ast/rust-ast-visitor.cc (DefaultASTVisitor::visit): Add check for loop label before visiting it. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/resolve/rust-ast-resolve-expr.cc')
0 files changed, 0 insertions, 0 deletions