aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/parse/rust-parse-impl.h
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2022-04-19 17:01:25 +0000
committerGitHub <noreply@github.com>2022-04-19 17:01:25 +0000
commitf6e244dc0e736853f2ba74fc3e0da585285df191 (patch)
tree5ab0a7755139bf957cd6398a4c76716185442b80 /gcc/rust/parse/rust-parse-impl.h
parent4152743451a73591fa60bc52f0b28447ef4a8878 (diff)
parent5528001eca60bb115e6afc94105ecc7b3820eb52 (diff)
downloadgcc-f6e244dc0e736853f2ba74fc3e0da585285df191.zip
gcc-f6e244dc0e736853f2ba74fc3e0da585285df191.tar.gz
gcc-f6e244dc0e736853f2ba74fc3e0da585285df191.tar.bz2
Merge #1134
1134: Fix ICE during HIR lowering of ExprWithBlock MatchExpr r=philberty a=philberty When we are lowering blocks using the visitor pattern we must use the BaseClass of ExprWithBlock to abstract away the notion that this expr has a block such that we can handle cases like a block expr vs expressions with a block. This makes the usage of hir lowering of match expressions to be recursive, if we had more fine grained visitors in the AST we could fix these types of problems with compile time enforced interfaces. Fixes #858 Co-authored-by: Philip Herron <philip.herron@embecosm.com>
Diffstat (limited to 'gcc/rust/parse/rust-parse-impl.h')
0 files changed, 0 insertions, 0 deletions