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
Probably worth mentioning more explicitly because I wasted 15 minutes trying to debug why my label slugs weren't working lol
The text was updated successfully, but these errors were encountered:
jieyouxu
changed the title
Diagnostic/subdiagnostic struct /struct field fluent slugs outdated
Diagnostic/subdiagnostic example struct /struct field fluent slugs outdated
Feb 26, 2024
The example on https://rustc-dev-guide.rust-lang.org/diagnostics/diagnostic-structs.html is given as
but I believe this doesn't work anymore because the
label
's slug needs to be prefixed by the crate name, so the example needs to become e.g.Probably worth mentioning more explicitly because I wasted 15 minutes trying to debug why my label slugs weren't working lol
The text was updated successfully, but these errors were encountered: