You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Previously, the warn_ attribute is used to add warning diagnostics. But it was changed to warning in this PR.
Some information is also outdated in both Diagnostic and Subdiagnostic derives, e.g. no warning reference in Subdiagnostic, the attribute is also applicable on structs.
Diagnostic derive documentation from nightly rustc (source of truth):