Capture parens in trait bound
diff --git a/tests/test_generics.rs b/tests/test_generics.rs
index 84eb529..d4ca16f 100644
--- a/tests/test_generics.rs
+++ b/tests/test_generics.rs
@@ -79,6 +79,7 @@
}.into(),
bounds: punctuated![
TypeParamBound::Trait(TraitBound {
+ paren_token: None,
modifier: TraitBoundModifier::None,
lifetimes: None,
path: "Debug".into(),
@@ -126,6 +127,7 @@
let tokens = quote!(Debug);
let expected = TypeParamBound::Trait(TraitBound {
+ paren_token: None,
modifier: TraitBoundModifier::None,
lifetimes: None,
path: "Debug".into(),
@@ -137,6 +139,7 @@
let tokens = quote!(?Sized);
let expected = TypeParamBound::Trait(TraitBound {
+ paren_token: None,
modifier: TraitBoundModifier::Maybe(Default::default()),
lifetimes: None,
path: "Sized".into(),