Closed
Description
Given the following code: [playground]
pub trait Pack<'a> {
fn pack()
where
Self: for<'x> Pack<'x>;
}
The current output is:
error[E0283]: type annotations needed
|
= note: cannot satisfy `Self: Pack<'a>`
This should at least point at the Self: for<'x> Pack<'x>
bound.
Ideally, this should work. (It's unclear why it shouldn't, given other where Self:
work fine.)