about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/errors.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2023-09-06 09:07:58 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2023-09-08 16:53:57 +1000
commite525e4f10a84c61bebf79350484502a8f08519f4 (patch)
treee0b3e78edfa90adfc3b241cbfa0d1e38572e66c8 /compiler/rustc_interface/src/errors.rs
parent69ec43001afd14bac506c519b47f2a17595086e7 (diff)
downloadrust-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