Closed as not planned
Description
I understand that this may not be a high priority, I mean who knows how long this syntax will last, but it would be cool to see this work.
#![feature(yeet_expr)]
#[async_trait::async_trait]
trait Test {
async fn test(&self) -> Result<Infallible, ()> {
do yeet;
}
}
error: expected expression
--> src/main.rs:22:9
|
22 | do yeet;
| ^^
Rustc version: rustc 1.63.0-nightly (ee160f2f5 2022-05-23)
For reference: rust-lang/rust#96373
Metadata
Metadata
Assignees
Labels
No labels