https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66440
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- The "did you mean ... ?" suggestions are pretty basic, there's no semantic analysis. So they are imperfect, but still useful more often than not.