about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2014-12-20 08:41:33 -0500
committerNiko Matsakis <niko@alum.mit.edu>2014-12-20 08:41:33 -0500
commitacd31db22938968929913b54779cb33a3c2e03df (patch)
treec1ee45794a734103e112467857d8079f35bdcab7 /src
parentd87b308b67ab070d67ab66062b33f64e5bc621e4 (diff)
patch up pretty-printing test
Diffstat (limited to 'src')
-rw-r--r--src/test/pretty/where-clauses.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/test/pretty/where-clauses.rs b/src/test/pretty/where-clauses.rs
index 6703c35234b..0f3b914334e 100644
--- a/src/test/pretty/where-clauses.rs
+++ b/src/test/pretty/where-clauses.rs
@@ -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() { }
+