https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 99684, which changed state.
Bug 99684 Summary: [modules] std::visit fails to compile when <variant> is used as header unit https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99684 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED