mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
24cdb7ed56
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 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
messages.ftl |