about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/lib.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-11-04 18:52:26 +0100
committerGitHub <noreply@github.com>2022-11-04 18:52:26 +0100
commit612bb7890cbac06e9f6b65ac15aeeb174d4ccb23 (patch)
tree7f0a0839aef8a6c376555701a61f5460e3b93851 /compiler/rustc_errors/src/lib.rs
parentdabb6c6bd7e06bb27655f2393f722fdcee74da5e (diff)
parenta777c46dff4fdb54e29a19e273d8677d485232e6 (diff)
downloadrust-612bb7890cbac06e9f6b65ac15aeeb174d4ccb23.tar.gz
rust-612bb7890cbac06e9f6b65ac15aeeb174d4ccb23.zip
Rollup merge of #103397 - crlf0710:port_dead_code_lint, r=davidtwco
Port `dead_code` lints to be translatable.

This adds an additional comma to lists with three or more items, to be consistent with list formatters like `icu4x`.

r? `@davidtwco`
Diffstat (limited to 'compiler/rustc_errors/src/lib.rs')
-rw-r--r--compiler/rustc_errors/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_errors/src/lib.rs b/compiler/rustc_errors/src/lib.rs
index f390495b53d..a8fd1a17a51 100644
--- a/compiler/rustc_errors/src/lib.rs
+++ b/compiler/rustc_errors/src/lib.rs
@@ -376,7 +376,7 @@ pub use diagnostic::{
     DiagnosticStyledString, IntoDiagnosticArg, SubDiagnostic,
 };
 pub use diagnostic_builder::{DiagnosticBuilder, EmissionGuarantee, Noted};
-pub use diagnostic_impls::DiagnosticArgFromDisplay;
+pub use diagnostic_impls::{DiagnosticArgFromDisplay, DiagnosticSymbolList};
 use std::backtrace::Backtrace;
 
 /// A handler deals with errors and other compiler output.