rust/src/librustc_errors
Tyler Mandry 7f6fdef0e9
Rollup merge of #68256 - estebank:bad-sugg-span, r=petrochenkov
Do not ICE on malformed suggestion spans

Under the assumption that suggestions are by their very nature always "best effort", it is ok if we don't display them instead of having an ICE. The underlying issue of the malformed span being _created_ is left unaddressed.

Fix #67567.

r? @petrochenkov
2020-01-17 17:28:15 -08:00
..
json Rename syntax_pos to rustc_span in source code 2020-01-01 09:15:18 +03:00
annotate_snippet_emitter_writer.rs don't clone types that are copy 2020-01-16 23:48:49 +01:00
Cargo.toml use winapi for non-stdlib Windows bindings 2020-01-11 20:56:46 -05:00
diagnostic.rs Rename syntax_pos to rustc_span in source code 2020-01-01 09:15:18 +03:00
diagnostic_builder.rs - remove syntax::{span_warn!, span_err!, span_fatal!. struct_err!} 2020-01-08 04:25:33 +01:00
emitter.rs review comments 2020-01-16 18:55:23 -08:00
json.rs Rename syntax_pos to rustc_span in source code 2020-01-01 09:15:18 +03:00
lib.rs review comments 2020-01-16 18:55:23 -08:00
lock.rs use winapi for non-stdlib Windows bindings 2020-01-11 20:56:46 -05:00
registry.rs Remove licenses 2018-12-25 21:08:33 -07:00
snippet.rs Format the world 2019-12-22 17:42:47 -05:00
styled_buffer.rs Format the world 2019-12-22 17:42:47 -05:00