Overlapping From
impls produce confusing errors in async code
#69632
Labels
A-async-await
Area: Async & Await
A-diagnostics
Area: Messages for errors, warnings, and lints
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Playground
This produces a rather confusing error:
If you make functions non-async and remove the await then you get a proper error about overlapping
From
impls:Meta
Rust version 1.41.1 (current version on playground)
Same problem appears on beta and nightly.
The text was updated successfully, but these errors were encountered: