There was an error while loading. Please reload this page.
untranslatable_diagnostic
diagnostic_outside_of_impl
allow
1 parent 80d0d92 commit 5f47391Copy full SHA for 5f47391
1 file changed
compiler/rustc_lint/src/internal.rs
@@ -427,7 +427,7 @@ declare_tool_lint! {
427
/// More details on translatable diagnostics can be found
428
/// [here](https://rustc-dev-guide.rust-lang.org/diagnostics/translation.html).
429
pub rustc::UNTRANSLATABLE_DIAGNOSTIC,
430
-Deny,
+Allow,
431
"prevent creation of diagnostics which cannot be translated",
432
report_in_external_macro:true
433
}
@@ -440,7 +440,7 @@ declare_tool_lint! {
440
/// More details on diagnostics implementations can be found
441
/// [here](https://rustc-dev-guide.rust-lang.org/diagnostics/diagnostic-structs.html).
442
pub rustc::DIAGNOSTIC_OUTSIDE_OF_IMPL,
443
444
"prevent diagnostic creation outside of `Diagnostic`/`Subdiagnostic`/`LintDiagnostic` impls",
445
446
0 commit comments