about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-03-18 16:27:10 +0100
committerGitHub <noreply@github.com>2024-03-18 16:27:10 +0100
commit72e2c7c45a76acc8d803783db66016877d857d81 (patch)
tree3e5ded0b14d88d39ebdefd9a75972cf96784fe4b /compiler/rustc_pattern_analysis/src
parent1ac0239bd23e06330d7d8ba7fc40584bb13a460d (diff)
parentf3e9dfaed6c4d44fc0a5182221c31e5b0ff038fd (diff)
downloadrust-72e2c7c45a76acc8d803783db66016877d857d81.tar.gz
rust-72e2c7c45a76acc8d803783db66016877d857d81.zip
Rollup merge of #122680 - lqd:nested-await-args, r=compiler-errors
Do not eat nested expressions' results in `MayContainYieldPoint` format args visitor

#121563 unintentionally changed the `MayContainYieldPoint` format args visitor behavior, now missing yield points in nested expressions, as seen in #122674.

The walk can find a yield point in an expression but it was ignored.

r? ``@petrochenkov`` as the reviewer of #121563
cc ``@Jarcho`` as the author

Fixes #122674.
We're in the 1.77 release week. #121563 will land on 1.78 but beta is still 1.77.9: this PR will likely need to be backported soon after beta is cut.
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions