Skip to content

Commit

Permalink
Downgrade untranslatable_diagnostic to allow
Browse files Browse the repository at this point in the history
See <#132181> for more context.
  • Loading branch information
jieyouxu committed Oct 26, 2024
1 parent 80d0d92 commit ceb4a40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_lint/src/internal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ declare_tool_lint! {
/// More details on translatable diagnostics can be found
/// [here](https://rustc-dev-guide.rust-lang.org/diagnostics/translation.html).
pub rustc::UNTRANSLATABLE_DIAGNOSTIC,
Deny,
Allow,
"prevent creation of diagnostics which cannot be translated",
report_in_external_macro: true
}
Expand Down

0 comments on commit ceb4a40

Please sign in to comment.