rust/compiler/rustc_span/src
bors cae1f4ddf2 Auto merge of #79762 - Swatinem:remap-doctest-coverage, r=Swatinem
Remap instrument-coverage line numbers in doctests

This uses the `SourceMap::doctest_offset_line` method to re-map line
numbers from doctests. Remapping columns is not yet done, and rustdoc
still does not output the correct filename when running doctests in a
workspace.

Part of #79417 although I dont consider that fixed until both filenames
and columns are mapped correctly.

r? `@richkadel`

I might jump on zulip the comming days. Still need to figure out how to properly write tests for this, and deal with other doctest issues in the meantime.
2020-12-25 02:37:08 +00:00
..
analyze_source_file mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
lev_distance Move lev_distance to rustc_ast, make non-generic 2020-11-24 16:12:23 -08: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 Fix some clippy lints 2020-12-03 17:08:19 -05: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 Show the inline stack of MIR lints that only occur after inlining 2020-10-27 14:08:07 +00:00
lev_distance.rs Move lev_distance to rustc_ast, make non-generic 2020-11-24 16:12:23 -08:00
lib.rs Remap instrument-coverage line numbers in doctests 2020-12-19 13:22:24 +01:00
source_map.rs Fix some clippy lints 2020-12-03 17:08:19 -05:00
span_encoding.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
symbol.rs Rollup merge of #80297 - jyn514:more-docs, r=bjorn3 2020-12-23 00:13:53 +01:00
tests.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00