Skip to content

Commit

Permalink
test: add missing lifetime in recently added test.
Browse files Browse the repository at this point in the history
  • Loading branch information
eddyb committed Jan 28, 2017
1 parent 9a0af16 commit c0e474d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/compile-fail/where-equality-constraints.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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() {}

0 comments on commit c0e474d

Please sign in to comment.