about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEduard-Mihai Burtescu <edy.burt@gmail.com>2017-01-27 19:03:59 +0200
committerEduard-Mihai Burtescu <edy.burt@gmail.com>2017-01-28 02:56:46 +0200
commitc0e474d9a6d11518e602b7e20ccf2bf36725f0ad (patch)
tree7367e00d0ef74953789add534df02d05fb0da7ba
parent9a0af1638a2e91f6979c10e4d4b37159ed5bf951 (diff)
downloadrust-c0e474d9a6d11518e602b7e20ccf2bf36725f0ad.tar.gz
rust-c0e474d9a6d11518e602b7e20ccf2bf36725f0ad.zip
test: add missing lifetime in recently added test.
-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() {}