rust/compiler/rustc_privacy/src
Esteban Küber 8e9422f94e 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-01-31 20:36:44 +00:00
..
errors.rs Emit a single privacy error for multiple fields on the same struct expression 2025-01-18 20:33:15 +00:00
lib.rs Make comma separated lists of anything easier to make for errors 2025-01-31 20:36:44 +00:00