about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/test/compile-fail/where-equality-constraints.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/where-equality-constraints.rs b/src/test/compile-fail/where-equality-constraints.rs
index 5b2fe2901c4..e449a736c75 100644
--- a/src/test/compile-fail/where-equality-constraints.rs
+++ b/src/test/compile-fail/where-equality-constraints.rs
@@ -10,7 +10,7 @@
 
 fn f() where u8 = u16 {}
 //~^ ERROR equality constraints are not yet supported in where clauses
-fn g() where for<'a> &(u8,) == u16, {}
+fn g() where for<'a> &'static (u8,) == u16, {}
 //~^ ERROR equality constraints are not yet supported in where clauses
 
 fn main() {}