mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 08:44:35 +00:00
151db25599
rustc_span: improve bounds checks in byte_pos_to_line_and_col The effect of this change is to consider edge-case spans that start or end at the position one past the end of a file to be valid during span hashing and encoding. This change means that these spans will be preserved across incremental compilation sessions when they are part of a serialized query result, instead of causing the dummy span to be used. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |