about summary refs log tree commit diff
path: root/compiler/rustc_mir/src/transform/coverage/debug.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-03-06 21:02:53 +0000
committerbors <bors@rust-lang.org>2021-03-06 21:02:53 +0000
commitdfe519b344b60e54a2028d3366ca366a228537e3 (patch)
treeba64f1cd86f8223ff34cdc0d0893f24835039898 /compiler/rustc_mir/src/transform/coverage/debug.rs
parent51748a8fc77283914d4135f31b5966a407208187 (diff)
parentc6c243ae1e569eb0967e2ebfb0c82f997ee353c6 (diff)
downloadrust-dfe519b344b60e54a2028d3366ca366a228537e3.tar.gz
rust-dfe519b344b60e54a2028d3366ca366a228537e3.zip
Auto merge of #82738 - estebank:tail-expr-check-is-too-slow, r=oli-obk
Move check only relevant in error case out of critical path

Move the check for potentially forgotten `return` in a tail expression
of arbitrary expressions into the coercion error branch to avoid
computing unncessary coercion checks on successful code.

Follow up to #81458.
Diffstat (limited to 'compiler/rustc_mir/src/transform/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions