]> git.lizzy.rs Git - rust.git/commitdiff
Update tests
authorSeiichi Uchida <seuchida@gmail.com>
Wed, 2 Aug 2017 14:28:52 +0000 (23:28 +0900)
committerSeiichi Uchida <seuchida@gmail.com>
Wed, 2 Aug 2017 14:28:52 +0000 (23:28 +0900)
tests/target/trailing_commas.rs
tests/target/type_alias.rs

index 93fcc0f2cb1712870e34610ce3d1110a7cee75c4..61b82035450819aa628277a112f2580fae08f04a 100644 (file)
@@ -66,7 +66,8 @@ enum E<
     T,
 > where
     T: P,
-    T: Q = Pair<
+    T: Q,
+= Pair<
     T, T,
 >;
 
index cac1ac466cd5f7ffb51e467b603d6dc8935fa9b7..97a88bb6372be4adf7d72c4c3ec8ae760b401e6b 100644 (file)
 > = ();
 
 
-pub type WithWhereClause<LONGPARAMETERNAME, T> where
+pub type WithWhereClause<LONGPARAMETERNAME, T>
+where
     T: Clone,
-    LONGPARAMETERNAME: Clone + Eq + OtherTrait = Option<T>;
+    LONGPARAMETERNAME: Clone + Eq + OtherTrait,
+= Option<T>;
 
-pub type Exactly100CharstoEqualWhereTest<T, U, PARAMET> where
-    T: Clone + Ord + Eq + SomeOtherTrait = Option<T>;
+pub type Exactly100CharstoEqualWhereTest<T, U, PARAMET>
+where
+    T: Clone + Ord + Eq + SomeOtherTrait,
+= Option<T>;
 
-pub type Exactly101CharstoEqualWhereTest<T, U, PARAMETE> where
-    T: Clone + Ord + Eq + SomeOtherTrait = Option<T>;
+pub type Exactly101CharstoEqualWhereTest<T, U, PARAMETE>
+where
+    T: Clone + Ord + Eq + SomeOtherTrait,
+= Option<T>;
 
 type RegisterPlugin = unsafe fn(pt: *const c_char, plugin: *mut c_void, data: *mut CallbackData);