-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
needs-further-investigationNeeds to be root-causedNeeds to be root-caused
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?!
Metadata
Metadata
Assignees
Labels
needs-further-investigationNeeds to be root-causedNeeds to be root-caused