]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/issue-20831-debruijn.rs
New upstream version 1.23.0+dfsg1
[rustc.git] / src / test / compile-fail / issue-20831-debruijn.rs
index 323cd24d8dda5a08dafcfd7f5edf9ccc10f0095f..3f00f561ae96f4ee83461e4801f3e007cfb4fdff 100644 (file)
@@ -38,7 +38,6 @@ impl<'a> Publisher<'a> for MyStruct<'a> {
     fn subscribe(&mut self, t : Box<Subscriber<Input=<Self as Publisher>::Output> + 'a>) {
         // Not obvious, but there is an implicit lifetime here -------^
         //~^^ ERROR cannot infer
-        //~|  ERROR cannot infer
         //
         // The fact that `Publisher` is using an implicit lifetime is
         // what was causing the debruijn accounting to be off, so