rust/compiler/rustc_span
Jonas Schievink 151db25599
Rollup merge of #78423 - tgnottingham:caching_source_map_bounds_check, r=oli-obk
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.
2020-10-29 17:05:17 +01:00
..
src Rollup merge of #78423 - tgnottingham:caching_source_map_bounds_check, r=oli-obk 2020-10-29 17:05:17 +01:00
Cargo.toml mv compiler to compiler/ 2020-08-30 18:45:07 +03:00