never patterns: !
argument not detected as diverging on async fn
#120240
Labels
A-async-await
Area: Async & Await
AsyncAwait-Triaged
Async-await issues that have been triaged during a working group meeting.
C-bug
Category: This is a bug.
F-never_patterns
`#![feature(never_patterns)]`
requires-incomplete-features
This issue requires the use of incomplete features.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
WG-async
Working group: Async & await
With #120104, a function with a
!
pattern in a binding is detected as diverging:This doesn't work the arguments of an
async
fn however:The text was updated successfully, but these errors were encountered: