syn
syn copied to clipboard
Parse qualified path on struct construction expr and pattern
Depending on the outcome of https://github.com/rust-lang/rust/pull/80080. This would be a valid Expr: <Type as Trait>::Assoc::Variant {}
The current parse error is:
error: expected `;`
--> dev/main.rs:5:45
|
5 | let _ = <Type as Trait>::Assoc::Variant {};
| ^