rust/compiler/rustc_borrowck
Matthias Krüger 3559a48b8e
Rollup merge of #136368 - estebank:listify, r=fee1-dead
Make comma separated lists of anything easier to make for errors

Provide a new function `listify`, meant to be used in cases similar to `pluralize!`. When you have a slice of arbitrary elements that need to be presented to the user, `listify` allows you to turn that into a list of comma separated strings.

This reduces a lot of redundant logic that happens often in diagnostics.
2025-02-02 12:31:57 +01:00
..
src Rollup merge of #136368 - estebank:listify, r=fee1-dead 2025-02-02 12:31:57 +01:00
Cargo.toml compiler: Replace rustc_target with _abi in _borrowck 2024-11-02 20:31:47 -07:00
messages.ftl Rework "long type names" printing logic 2025-01-31 20:39:01 +00:00