about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/expr.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-03-27 15:32:42 +0200
committerGitHub <noreply@github.com>2023-03-27 15:32:42 +0200
commit7f6b406fa1b95761b4041c237e20bb2f7683d2a7 (patch)
treefc6057fc9d739c5facb81c7b75febc4b985a22fa /compiler/rustc_parse/src/parser/expr.rs
parent9c73bf9038295a041aa3801494b161f32efbc9b9 (diff)
parent49798605a0a9186fa6b30d9f219e099287024b8b (diff)
downloadrust-7f6b406fa1b95761b4041c237e20bb2f7683d2a7.tar.gz
rust-7f6b406fa1b95761b4041c237e20bb2f7683d2a7.zip
Rollup merge of #109582 - scottmcm:local-ref-pending, r=oli-obk
Refactor: Separate `LocalRef` variant for not-evaluated-yet operands

As I was reading through this, I noticed that almost every place that was using this needed to distinguish between Some vs None in the match arm anyway, so thought that separating the cases at the variant level might be clearer instead.

I like how it ended up; let me know what you think!
Diffstat (limited to 'compiler/rustc_parse/src/parser/expr.rs')
0 files changed, 0 insertions, 0 deletions