syn icon indicating copy to clipboard operation
syn copied to clipboard

Parse attributes on where-predicates

Open dtolnay opened this issue 1 year ago • 0 comments

  • RFC: https://github.com/rust-lang/rfcs/pull/3399
  • Tracking issue: https://github.com/rust-lang/rust/issues/115590
impl<T> SomeTrait<T> for Thing
where
    #[cfg(something_a)] T: SomeRequirementA,
    #[cfg(something_b)] T: SomeRequirementB,
{}

dtolnay avatar Jul 08 '24 17:07 dtolnay