Open
Description
pub struct Bar
where
for<'a> &'a mut Self:;
fn main() {}
Errors out in ambiguity:
error[E0282]: type annotations needed
--> <source>:5:13
|
5 | for<'a> &'a mut Self:;
| ^^^^^^^^^^^^ cannot infer type for mutable reference `&'a mut Bar`
|
note: required by a bound in `Bar`
This happens when checking that Bar
is WF... so what's going on there?!