rust/src/librustc_errors
bors 5d6f6e65ff Auto merge of #47274 - Manishearth:rustdoc-span, r=QuietMisdreavus
Use correct line offsets for doctests

Not yet tested.

This doesn't handle char positions. It could if I collected a map of char offsets and lines, but this is a bit more work and requires hooking into the parser much more (unsure if it's possible).

r? @QuietMisdreavus

(fixes #45868)
2018-01-14 11:28:27 +00:00
..
Cargo.toml When attempting to write str with single quote suggest double quotes 2017-12-14 22:51:42 -08:00
diagnostic.rs Only bump error count when we are sure that the diagnostic is not a repetition. 2018-01-03 00:42:12 +01:00
diagnostic_builder.rs Only bump error count when we are sure that the diagnostic is not a repetition. 2018-01-03 00:42:12 +01:00
emitter.rs Use correct line offsets for doctests (fixes #45868) 2018-01-10 10:10:34 +05:30
lib.rs Auto merge of #47274 - Manishearth:rustdoc-span, r=QuietMisdreavus 2018-01-14 11:28:27 +00:00
lock.rs run rustfmt on librustc_errors folder 2016-10-18 23:13:02 +05:30
registry.rs run rustfmt on librustc_errors folder 2016-10-18 23:13:02 +05:30
snippet.rs Rollup merge of #46052 - oli-obk:rendered_diagnostics_in_json, r=petrochenkov 2017-11-22 01:12:59 +08:00
styled_buffer.rs Display \t in diagnostics code as four spaces 2017-11-24 08:24:31 -08:00