diff --git a/tests/target/trailing_commas.rs b/tests/target/trailing_commas.rs index 93fcc0f2cb1..61b82035450 100644 --- a/tests/target/trailing_commas.rs +++ b/tests/target/trailing_commas.rs @@ -66,7 +66,8 @@ type Double< T, > where T: P, - T: Q = Pair< + T: Q, += Pair< T, T, >; diff --git a/tests/target/type_alias.rs b/tests/target/type_alias.rs index cac1ac466cd..97a88bb6372 100644 --- a/tests/target/type_alias.rs +++ b/tests/target/type_alias.rs @@ -52,15 +52,21 @@ pub type CommentTest< > = (); -pub type WithWhereClause where +pub type WithWhereClause +where T: Clone, - LONGPARAMETERNAME: Clone + Eq + OtherTrait = Option; + LONGPARAMETERNAME: Clone + Eq + OtherTrait, += Option; -pub type Exactly100CharstoEqualWhereTest where - T: Clone + Ord + Eq + SomeOtherTrait = Option; +pub type Exactly100CharstoEqualWhereTest +where + T: Clone + Ord + Eq + SomeOtherTrait, += Option; -pub type Exactly101CharstoEqualWhereTest where - T: Clone + Ord + Eq + SomeOtherTrait = Option; +pub type Exactly101CharstoEqualWhereTest +where + T: Clone + Ord + Eq + SomeOtherTrait, += Option; type RegisterPlugin = unsafe fn(pt: *const c_char, plugin: *mut c_void, data: *mut CallbackData);