TAIT: Compiler struggles to infer the type #101897
Labels
C-bug
Category: This is a bug.
F-type_alias_impl_trait
`#[feature(type_alias_impl_trait)]`
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
T-types
Relevant to the types team, which will review and decide on the PR/issue.
Uh oh!
There was an error while loading. Please reload this page.
I tried this code:
I got the exact errors visible in the comments.
I expected this to compile, but it didn't.
I found a following workaround:
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: