]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #103397 - crlf0710:port_dead_code_lint, r=davidtwco
authorMatthias Krüger <matthias.krueger@famsik.de>
Fri, 4 Nov 2022 17:52:26 +0000 (18:52 +0100)
committerGitHub <noreply@github.com>
Fri, 4 Nov 2022 17:52:26 +0000 (18:52 +0100)
commit612bb7890cbac06e9f6b65ac15aeeb174d4ccb23
tree7f0a0839aef8a6c376555701a61f5460e3b93851
parentdabb6c6bd7e06bb27655f2393f722fdcee74da5e
parenta777c46dff4fdb54e29a19e273d8677d485232e6
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`
compiler/rustc_error_messages/locales/en-US/passes.ftl
compiler/rustc_errors/src/lib.rs
compiler/rustc_passes/src/dead.rs
compiler/rustc_passes/src/errors.rs