mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-04 01:42:54 +03:00
a9a2e1565a
- `emitted_at` isn't used outside the crate. - `code` and `messages` are public fields, so there's no point have trivial getters/setters for them. - `suggestions` is public, so the comment about "functionality on `Diagnostic`" isn't needed.