Diagnostic tags represent additional metadata about a diagnostic, e.g. for unused variables or deprecations. This lets editors e.g. style such diagnostics in a special way, e.g. by striking through deprecated methods or dimming unused values.