https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107430 Bug 107430 depends on bug 101315, which changed state.
Bug 101315 Summary: C++20 lambdas in unevaluated context: erroneously fails with "incomplete type" https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101315 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED