https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84098
--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> --- The new assert says 8955 /* Lambda closures are regenerated in tsubst_lambda_expr, not 8956 instantiated here. */ 8957 gcc_assert (!LAMBDA_TYPE_P (template_type)); but here we haven't gotten around to calling tsubst_lambda_expr.