mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-04 18:40:57 +03:00
b5f5bdce87
Use `&mut Diagnostic` instead of `&mut DiagnosticBuilder` unless needed
This seems to be the established convention (02ff9e0) when `DiagnosticBuilder` was first added. I am guilty of introducing some of these.