dtolnay / syn

Parser for Rust source code
Apache License 2.0
2.79k stars 306 forks source link

Parse attributes on where-predicates #1705

Open dtolnay opened 1 month ago

dtolnay commented 1 month ago
impl<T> SomeTrait<T> for Thing
where
    #[cfg(something_a)] T: SomeRequirementA,
    #[cfg(something_b)] T: SomeRequirementB,
{}