rust/compiler/rustc_span/src
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
..
analyze_source_file mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
source_map mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
symbol mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
analyze_source_file.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
caching_source_map_view.rs rustc_span: represent line bounds with Range 2020-10-27 15:47:29 -07:00
def_id.rs Add some docs to rustdoc::clean::inline and def_id functions 2020-10-06 09:46:00 +00:00
edition.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
fatal_error.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
hygiene.rs Remove unused code from rustc_span 2020-10-14 04:14:32 +02:00
lib.rs Rollup merge of #78423 - tgnottingham:caching_source_map_bounds_check, r=oli-obk 2020-10-29 17:05:17 +01:00
source_map.rs Remove unused code from rustc_span 2020-10-14 04:14:32 +02:00
span_encoding.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
symbol.rs Auto merge of #78458 - Dylan-DPC:rollup-tan044s, r=Dylan-DPC 2020-10-28 01:40:06 +00:00
tests.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00