must_not_suspend
should trigger for temporary in match expression (but does not)
#90937
Labels
A-async-await
Area: Async & Await
A-lint
Area: Lints (warnings about flaws in source code) such as unused_mut.
AsyncAwait-Triaged
Async-await issues that have been triaged during a working group meeting.
C-bug
Category: This is a bug.
I tried this code:
I expected to see this happen: compile-time error. Something like
Instead, this happened: run-time panic (see below)
Meta
rustc --version --verbose
: nightly on playground (1.58.0-nightly, 2021-11-14 ad44239...)Backtrace
The text was updated successfully, but these errors were encountered: