]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_error_messages/locales/en-US/lint.ftl
add: `emit{,_spanned}_lint` for `LintLevelsBuilder`
[rust.git] / compiler / rustc_error_messages / locales / en-US / lint.ftl
index a36a511bd4aa64e436313be0dcde0493aa4a5666..78b8f6aaae9e2cd8adfc81a1617fd19f11a94c56 100644 (file)
@@ -16,6 +16,10 @@ lint_enum_intrinsics_mem_variant =
 lint_expectation = this lint expectation is unfulfilled
     .note = the `unfulfilled_lint_expectations` lint can't be expected and will always produce this message
 
+lint_deprecated_lint_name =
+    lint name `{$name}` is deprecated and may not have an effect in the future.
+    .suggestion = change it to
+
 lint_hidden_unicode_codepoints = unicode codepoint changing visible direction of text present in {$label}
     .label = this {$label} contains {$count ->
         [one] an invisible
@@ -351,7 +355,7 @@ lint_builtin_mutable_transmutes =
 lint_builtin_unstable_features = unstable feature
 
 lint_ungated_async_fn_track_caller = `#[track_caller]` on async functions is a no-op
-     .suggestion = enable this feature
+     .label = this function will not propagate the caller location
 
 lint_builtin_unreachable_pub = unreachable `pub` {$what}
     .suggestion = consider restricting its visibility