Skip to content

Commit c0e474d

Browse files
committed
test: add missing lifetime in recently added test.
1 parent 9a0af16 commit c0e474d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/compile-fail/where-equality-constraints.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
fn f() where u8 = u16 {}
1212
//~^ ERROR equality constraints are not yet supported in where clauses
13-
fn g() where for<'a> &(u8,) == u16, {}
13+
fn g() where for<'a> &'static (u8,) == u16, {}
1414
//~^ ERROR equality constraints are not yet supported in where clauses
1515

1616
fn main() {}

0 commit comments

Comments
 (0)