https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100741
Bug ID: 100741 Summary: [enhancement] Should show better error message if using ‘typedef’ instead of ‘using’. Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: cyp561 at gmail dot com Target Milestone: --- Test code: typedef Rng = std::mt19937_64; Actual error message: error: ‘Rng’ does not name a type Useful error message: error: Used ‘typedef’ with ‘using’ syntax 11 | typedef Rng = std::mt19937_64; ^~~~~~~ using