about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/src/errors.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-02-01 19:17:39 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2024-02-03 09:02:50 +1100
commita9a2e1565abbeae741d6d715224194caf500099b (patch)
tree0eed2a91e690488feac06a519c64230857ecc980 /compiler/rustc_codegen_gcc/src/errors.rs
parent585367f15f9fe7f4b169f6a157d087c0586c4ee1 (diff)
downloadrust-a9a2e1565abbeae741d6d715224194caf500099b.tar.gz
rust-a9a2e1565abbeae741d6d715224194caf500099b.zip
`Diagnostic` cleanups
- `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.
Diffstat (limited to 'compiler/rustc_codegen_gcc/src/errors.rs')
0 files changed, 0 insertions, 0 deletions