about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/errors.rs
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2024-07-05 20:49:34 -0400
committerGitHub <noreply@github.com>2024-07-05 20:49:34 -0400
commita3535b963b723f3a3184f7b7d4b52648074861c1 (patch)
treedef7f9f87a6d38fbc532490be6a5061fd71049c2 /compiler/rustc_parse/src/errors.rs
parent521d451bc4c0dc09b62c6b9087c2786f42d2692a (diff)
parent7dca61b68b50b7e38bf3cec027eec2002755b2a4 (diff)
downloadrust-a3535b963b723f3a3184f7b7d4b52648074861c1.tar.gz
rust-a3535b963b723f3a3184f7b7d4b52648074861c1.zip
Rollup merge of #127366 - oli-obk:falliblevisitor, r=compiler-errors
Use `ControlFlow` results for visitors that are only looking for a single value

These visitors all had a `Option<Value>` or `bool` field, that, once set, was never unset or modified again. They have been refactored by removing the field and returning `ControlFlow` directly from the visitor
Diffstat (limited to 'compiler/rustc_parse/src/errors.rs')
0 files changed, 0 insertions, 0 deletions