rust/compiler/rustc_borrowck/src/diagnostics
Matthias Krüger 3e634f8c5c
Rollup merge of #121563 - Jarcho:use_cf, r=petrochenkov
Use `ControlFlow` in visitors.

Follow up to #121256

This does have a few small behaviour changes in some diagnostic output where the visitor will now find the first match rather than the last match. The change in `find_anon_types.rs` has the only affected test. I don't see this being an issue as the last occurrence isn't any better of a choice than the first.
2024-03-08 13:22:26 +01:00
..
bound_region_errors.rs Rename DiagnosticBuilder as Diag. 2024-02-28 08:55:35 +11:00
conflict_errors.rs Rollup merge of #120646 - clubby789:uninit-destructuring-sugg, r=michaelwoerister 2024-03-01 17:51:28 +01:00
explain_borrow.rs Rename DiagnosticBuilder as Diag. 2024-02-28 08:55:35 +11:00
find_all_local_uses.rs Invert diagnostic lints. 2024-02-06 13:12:33 +11:00
find_use.rs Invert diagnostic lints. 2024-02-06 13:12:33 +11:00
mod.rs Add missing #[rustc_lint_diagnostics] attributes. 2024-03-06 14:19:38 +11:00
move_errors.rs Rename DiagnosticBuilder as Diag. 2024-02-28 08:55:35 +11:00
mutability_errors.rs Use ControlFlow in HIR visitors 2024-03-05 20:06:08 -05:00
outlives_suggestion.rs Rename DiagnosticBuilder as Diag. 2024-02-28 08:55:35 +11:00
region_errors.rs Add missing #[rustc_lint_diagnostics] attributes. 2024-03-06 14:19:38 +11:00
region_name.rs Rename DiagnosticArg{,Map,Name,Value} as DiagArg{,Map,Name,Value}. 2024-02-28 08:55:37 +11:00
var_name.rs Invert diagnostic lints. 2024-02-06 13:12:33 +11:00