https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110911
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- Although Dave Malcolm has recommended that we don't use "did you mean...?" phrasing, but something like "static_assert not valid here, static_cast would be valid".