aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/util
diff options
context:
space:
mode:
authorArthur Cohen <arthur.cohen@embecosm.com>2025-01-23 11:44:33 +0000
committerCohenArthur <arthur.cohen@embecosm.com>2025-02-26 16:00:58 +0000
commit8dc275b79db6a89ea0a1218edd74af1b259c774e (patch)
treedc546417316f4955c62be53cf50dd17c33b58213 /gcc/rust/util
parent950a19345184306f09d0018c83828b0445d8f5a2 (diff)
downloadgcc-8dc275b79db6a89ea0a1218edd74af1b259c774e.zip
gcc-8dc275b79db6a89ea0a1218edd74af1b259c774e.tar.gz
gcc-8dc275b79db6a89ea0a1218edd74af1b259c774e.tar.bz2
lower: Error out when lowering ErrorPropagationExpr
Adapt functions for lowering nodes that should never reach the lowering phase to cause an unreachable, and mark them as final so as it not possible to override them in other visitors. gcc/rust/ChangeLog: * hir/rust-ast-lower-base.cc: Adapt functions for ErrorPropagationExpr and MacroInvocation. * hir/rust-ast-lower-base.h: Mark them as final. * hir/rust-ast-lower-expr.cc: Remove previous definition for those overrides. * hir/rust-ast-lower-expr.h: Likewise.
Diffstat (limited to 'gcc/rust/util')
0 files changed, 0 insertions, 0 deletions