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.)
Given the following code: [playground]
The current output is:
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.)