You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
NLL type-checking ICEs on closure recursing on impl Trait-returning enclosing function. #54593
Each inner closure, because it calls its parent function, causes this ICE: "equate_inputs_and_outputs: impl std::marker::Copy==impl std::marker::Copy failed with NoSolution".
(you only need one of foo or bar, but I left both in for contrast with the first example)
I suspect each impl Copy is instantiated in two different ways, causing inconsistencies.
changed the title [-]NLL type-checking fails on closure recursing on impl Trait-returning enclosing function.[/-][+]NLL type-checking ICEs on closure recursing on impl Trait-returning enclosing function.[/+]on Sep 26, 2018
Activity
[-]NLL type-checking fails on closure recursing on impl Trait-returning enclosing function.[/-][+]NLL type-checking ICEs on closure recursing on impl Trait-returning enclosing function.[/+]