]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/regions-bound-missing-bound-in-impl.rs
New upstream version 1.23.0+dfsg1
[rustc.git] / src / test / compile-fail / regions-bound-missing-bound-in-impl.rs
index 1d4ffe0690d2f0d0cc0b31549871ecf2f0952b57..617de2c5dfe84ecd39713eb6a9aa6a63e99764cd 100644 (file)
@@ -35,7 +35,6 @@ impl<'a, 't> Foo<'a, 't> for &'a isize {
 
     fn wrong_bound1<'b,'c,'d:'a+'c>(self, b: Inv<'b>, c: Inv<'c>, d: Inv<'d>) {
         //~^ ERROR method not compatible with trait
-        //~^^ ERROR method not compatible with trait
         //
         // Note: This is a terrible error message. It is caused
         // because, in the trait, 'b is early bound, and in the impl,