diff --git a/src/test/compile-fail/where-equality-constraints.rs b/src/test/compile-fail/where-equality-constraints.rs index 5b2fe2901c4ce..e449a736c753a 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() {}