[bug] async specialization is not parsed #63716
Labels
A-async-await
Area: Async & Await
A-parser
Area: The parsing of Rust source code to an AST
A-specialization
Area: Trait impl specialization
C-bug
Category: This is a bug.
F-specialization
`#![feature(specialization)]`
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.
The
async
keyword doesn't seem to currently work with specialization (namelydefault fn
). The order of keywords does not matter — I'm not sure which it's supposed to be.Minimal example from @dtolnay in dtolnay/async-trait#25:
which gives the following error
The text was updated successfully, but these errors were encountered: