rust/compiler/rustc_borrowck
Michael Goulet e5ecf629dd
Rollup merge of #102763 - compiler-errors:nits, r=cjgillot
Some diagnostic-related nits

1. Use `&mut Diagnostic` instead of `&mut DiagnosticBuilder<'_, T>`
2. Make `diag.span_suggestions` take an `IntoIterator` instead of `Iterator`, just to remove some `.into_iter` calls on the caller.

idk if I should add a lint to make sure people use `&mut Diagnostic` instead of `&mut DiagnosticBuilder<'_, T>` in cases where we're just, e.g., adding subdiagnostics to the diagnostic... maybe a followup.
2022-11-09 21:53:34 -08:00
..
src Rollup merge of #102763 - compiler-errors:nits, r=cjgillot 2022-11-09 21:53:34 -08:00
Cargo.toml Remove from compiler/ crates 2022-09-29 16:49:04 +09:00