rust/compiler/rustc_borrowck/src/diagnostics
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
..
bound_region_errors.rs Pass spans to perform_locally_in_new_solver 2025-01-25 20:53:34 +00:00
conflict_errors.rs Rollup merge of #136328 - estebank:long-ty-path, r=jieyouxu,lqd 2025-02-02 12:31:56 +01:00
explain_borrow.rs Run clippy --fix for unnecessary_map_or lint 2025-01-19 19:15:00 +00:00
find_all_local_uses.rs Invert diagnostic lints. 2024-02-06 13:12:33 +11:00
find_use.rs Use Rc less in MirBorrowckCtxt. 2024-10-04 16:46:20 +10:00
mod.rs Rollup merge of #136368 - estebank:listify, r=fee1-dead 2025-02-02 12:31:57 +01:00
move_errors.rs Rework "long type names" printing logic 2025-01-31 20:39:01 +00:00
mutability_errors.rs Implement MIR, CTFE, and codegen for unsafe binders 2025-01-31 17:19:53 +00:00
opaque_suggestions.rs Fix typos 2024-12-27 21:35:57 +08:00
outlives_suggestion.rs Remove unnecessary lifetimes in dataflow structs. 2024-09-09 16:14:18 +10:00
region_errors.rs visit_x_unambig 2025-01-23 06:01:36 +00:00
region_name.rs Split hir TyKind and ConstArgKind in two and update hir::Visitor 2025-01-23 06:01:36 +00:00
var_name.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00