assertion failed !ty::type_needs_infer when infering type of closure with a reference argument #14038
Labels
A-lifetimes
Area: Lifetimes / regions
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
See #14037 for a similar scenario with
let
(this one also works when changing the argument type to something without a reference).cc @nikomatsakis @pnkfelix
The text was updated successfully, but these errors were encountered: