error[E0283]: type annotations needed
--> src/lib.rs:2:16
|
2 | trait Foo<'a>: Trait<'a> + for<'b> Trait<'b> {}
| ^^^^^^^^^ cannot infer type for type parameter `Self`
|
= note: cannot satisfy `Self: Trait<'a>`
Isn't it trivially satsifiable? If Foo<'a>: Trait<'b> for any lifetime 'b, it's easily provable that Foo<'a>: Trait<'b> for some lifetime 'b ('b == 'a, in this case)!
Is this a bug in the compiler, or am I missing something?
IIRC, I was just manually checking stable versions on godbolt.org in that issue.
Edit: Actually, looking back at the issue, I do talk about nightlies there after all.... anyways, checking whether the stable versions behave the same is probably sufficient information to form a good guess whether or not it's "the same" issue.
Edit2: You can also install the nightlies mentioned in the issue manually and just check whether or not behavior changes in the same way at the same points.
Edit3: Regarding cargo-bisect-rustc, I don't know what you mean by "walks nightly-by-nightly", maybe you didn't pass it a start point and end point?