about summary refs log tree commit diff
path: root/src/test/run-pass/expr-block-generic.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/expr-block-generic.rs')
-rw-r--r--src/test/run-pass/expr-block-generic.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/expr-block-generic.rs b/src/test/run-pass/expr-block-generic.rs
index bc8c4c8983d..90f6ae25f9f 100644
--- a/src/test/run-pass/expr-block-generic.rs
+++ b/src/test/run-pass/expr-block-generic.rs
@@ -12,7 +12,7 @@
 // xfail-fast
 
 // Tests for standalone blocks as expressions with dynamic type sizes
-type compare<'self, T> = 'self |T, T| -> bool;
+type compare<'a, T> = 'a |T, T| -> bool;
 
 fn test_generic<T:Clone>(expected: T, eq: compare<T>) {
     let actual: T = { expected.clone() };