Bug. Get doubled error message with impl_trait_in_bindings when no error must be #70997
Labels
A-coroutines
Area: Coroutines
A-diagnostics
Area: Messages for errors, warnings, and lints
A-impl-trait
Area: `impl Trait`. Universally / existentially quantified anonymous types with static dispatch.
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
D-verbose
Diagnostics: Too much output caused by a single piece of incorrect code.
F-coroutines
`#![feature(coroutines)]`
F-impl_trait_in_bindings
`#![feature(impl_trait_in_bindings)]`
P-low
Low priority
requires-nightly
This issue requires a nightly compiler in some way.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
This example compiling with error message. And it's not obvious:
(Playground)
Errors:
May be must tracked by #63065
The text was updated successfully, but these errors were encountered: