pub fn for_message(message: &str) -> DiagCode
The code for one diagnostic message.
Titles are stable user-facing strings; the few that carry an id or option name are matched by prefix/suffix.