]> git.lizzy.rs Git - rust.git/commitdiff
patch up pretty-printing test
authorNiko Matsakis <niko@alum.mit.edu>
Sat, 20 Dec 2014 13:41:33 +0000 (08:41 -0500)
committerNiko Matsakis <niko@alum.mit.edu>
Sat, 20 Dec 2014 13:41:33 +0000 (08:41 -0500)
src/test/pretty/where-clauses.rs

index 6703c35234b0bd6e013c017656e1590dd36d26a3..0f3b914334e12b09cb9b4fabfe668124419fadf0 100644 (file)
@@ -10,6 +10,7 @@
 
 // pp-exact
 
-fn f<T, 'a, 'b) -> int where T : 'a, 'a: 'b, T: Eq {
-    0
-}
+fn f<'a, 'b, T>(t: T) -> int where T: 'a, 'a:'b, T: Eq { 0 }
+
+fn main() { }
+