about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/errors.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2024-04-16 15:19:14 +0200
committerGitHub <noreply@github.com>2024-04-16 15:19:14 +0200
commit24cdb7ed56d9f886591fc137be05d21a9e179413 (patch)
treedf131fd713e25067f1005d1dc9d5c91006efdb82 /compiler/rustc_parse/src/errors.rs
parent9da8f04da34429c481200bce0bad7f5008c79362 (diff)
parent00838b314046fb4e1d203346465f787a69f7159e (diff)
downloadrust-24cdb7ed56d9f886591fc137be05d21a9e179413.tar.gz
rust-24cdb7ed56d9f886591fc137be05d21a9e179413.zip
Rollup merge of #123990 - compiler-errors:suggest-closure-ret-deref, r=oli-obk
Make `suggest_deref_closure_return` more idiomatic/easier to understand

The only functional change here really is just making it not use a fresh type variable for upvars. I'll point that out in the code.

The rest of the changes are just stylistic, because reading this code was really confusing me (variable names were vague, ways of accessing types were unidiomatic, order of operations was kind of strange, etc).

This is stacked on #123989.

r? oli-obk since you approved #122213
Diffstat (limited to 'compiler/rustc_parse/src/errors.rs')
0 files changed, 0 insertions, 0 deletions