diff options
author | bors <bors@rust-lang.org> | 2023-03-04 15:10:04 +0000 |
---|---|---|
committer | bors <bors@rust-lang.org> | 2023-03-04 15:10:04 +0000 |
commit | b1719530f44e3c8ec903f76020a52bd8764d5d10 (patch) | |
tree | 50d45b3536f52f037a0defb5f82664d13c8cacd8 /tests/rustdoc-js-std/parser-errors.js | |
parent | 276b75a843af8822ffe4e395266d9445679a57a4 (diff) | |
parent | 6b9c4125a589fb9a6eb30e5ec9a66734d571ab86 (diff) | |
download | rust-b1719530f44e3c8ec903f76020a52bd8764d5d10.tar.gz |
Auto merge of #108692 - nnethercote:dont-call-temporary_scope-twice, r=cjgillot
Don't call `temporary_scope` twice.
`mirror_expr_inner` calls `temporary_scope`. It then calls `make_mirror_unadjusted` which makes an identical call to `temporary_scope`.
This commit changes the `mirror_expr_inner` to get the `temp_lifetime` out of the expression produced by `make_mirror_unadjusted`, similar to how it currently gets the type.
r? `@cjgillot`
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions