We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4779211 commit 2d30094Copy full SHA for 2d30094
tracing-attributes/src/expand.rs
@@ -277,7 +277,8 @@ fn gen_block<B: ToTokens>(
277
let mk_fut = match (err_event, ret_event) {
278
(Some(err_event), Some(ret_event)) => quote_spanned!(block.span()=>
279
async move {
280
- match async move #block.await {
+ let __match_scrutinee = async move #block.await;
281
+ match __match_scrutinee {
282
#[allow(clippy::unit_arg)]
283
Ok(x) => {
284
#ret_event;
0 commit comments