diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-09-06 09:07:58 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-09-08 16:53:57 +1000 |
| commit | e525e4f10a84c61bebf79350484502a8f08519f4 (patch) | |
| tree | e0b3e78edfa90adfc3b241cbfa0d1e38572e66c8 /compiler/rustc_interface/src/errors.rs | |
| parent | 69ec43001afd14bac506c519b47f2a17595086e7 (diff) | |
| download | rust-e525e4f10a84c61bebf79350484502a8f08519f4.tar.gz rust-e525e4f10a84c61bebf79350484502a8f08519f4.zip | |
`Span` tweaks.
`Span` has undergone some changes over the years (addition of an optional parent, and possible inlining of the context in interned spans) but the comments and identifiers used haven't kept up. As a result, I find it harder to understand than I should. This commit reworks the comments, renames some identifiers, and restructures the code slightly, all to make things clearer. I now feel like I understand this code again.
Diffstat (limited to 'compiler/rustc_interface/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
