diff options
Diffstat (limited to 'src/test/compile-fail/builtin-superkinds-simple.rs')
| -rw-r--r-- | src/test/compile-fail/builtin-superkinds-simple.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/compile-fail/builtin-superkinds-simple.rs b/src/test/compile-fail/builtin-superkinds-simple.rs index c1011f1368a..962bf67f009 100644 --- a/src/test/compile-fail/builtin-superkinds-simple.rs +++ b/src/test/compile-fail/builtin-superkinds-simple.rs @@ -13,10 +13,10 @@ trait Foo : Send { } -impl <'self> Foo for &'self mut () { } //~ ERROR cannot implement this trait +impl <'a> Foo for &'a mut () { } //~ ERROR cannot implement this trait trait Bar : Freeze { } -impl <'self> Bar for &'self mut () { } //~ ERROR cannot implement this trait +impl <'a> Bar for &'a mut () { } //~ ERROR cannot implement this trait fn main() { } |
