@@ -370,6 +370,8 @@ lint_builtin_anonymous_params = anonymous parameters are deprecated and will be
370370 .suggestion = try naming the parameter or explicitly ignoring it
371371
372372lint_builtin_deprecated_attr_link = use of deprecated attribute `{ $name } `: { $reason } . See { $link }
373+ .msg_suggestion = { $msg }
374+ .default_suggestion = remove this attribute
373375lint_builtin_deprecated_attr_used = use of deprecated attribute `{ $name } `: no longer used.
374376lint_builtin_deprecated_attr_default_suggestion = remove this attribute
375377
@@ -430,10 +432,16 @@ lint_builtin_incomplete_features = the feature `{$name}` is incomplete and may n
430432 .note = see issue #{ $n } <https://github.com/rust-lang/rust/issues/{ $n } > for more information
431433 .help = consider using `min_{ $name } ` instead, which is more stable and complete
432434
433- lint_builtin_clashing_extern_same_name = `{ $this_fi } ` redeclared with a different signature
435+ lint_builtin_unpermitted_type_init_zeroed = the type `{ $ty } ` does not permit zero-initialization
436+ lint_builtin_unpermitted_type_init_unint = the type `{ $ty } ` does not permit being left uninitialized
437+
438+ lint_builtin_unpermitted_type_init_label = this code causes undefined behavior when executed
439+ lint_builtin_unpermitted_type_init_label_suggestion = help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
440+
441+ lint_builtin_clashing_extern_same_name = `{ $this } ` redeclared with a different signature
434442 .previous_decl_label = `{ $orig } ` previously declared here
435443 .mismatch_label = this signature doesn't match the previous declaration
436- lint_builtin_clashing_extern_diff_name = `{ $this_fi } ` redeclares `{ $orig } ` with a different signature
444+ lint_builtin_clashing_extern_diff_name = `{ $this } ` redeclares `{ $orig } ` with a different signature
437445 .previous_decl_label = `{ $orig } ` previously declared here
438446 .mismatch_label = this signature doesn't match the previous declaration
439447
0 commit comments