rust/compiler/rustc_errors/src
Esteban Küber 04c2454b1e Fix ICE caused by suggestion with no code substitutions
Change suggestion logic to filter and checking _before_ creating
specific resolution suggestion.

Assert earlier that suggestions contain code substitions to make it
easier in the future to debug invalid uses. If we find this becomes too
noisy in the wild, we can always make the emitter resilient to these
cases and remove the assertions.

Fix #78651.
2021-02-13 19:52:12 -08:00
..
json mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
annotate_snippet_emitter_writer.rs Implement rustc side of report-future-incompat 2020-10-30 20:02:14 -04:00
diagnostic.rs Fix ICE caused by suggestion with no code substitutions 2021-02-13 19:52:12 -08:00
diagnostic_builder.rs Bump rustfmt version 2021-02-02 09:09:52 -05:00
emitter.rs Reduce tab formatting assertions to debug only 2021-02-03 17:17:15 +00:00
json.rs Make sure all fields are accounted for in encode_fields! 2021-02-07 14:54:22 -08:00
lib.rs Implement Encoder for Diagnostic manually 2021-02-07 14:54:22 -08:00
lock.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
registry.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
snippet.rs Bump rustfmt version 2021-02-02 09:09:52 -05:00
styled_buffer.rs Reduce tab formatting assertions to debug only 2021-02-03 17:17:15 +00:00