1
Fork 0
rust/compiler/rustc_errors/src
Dylan DPC 568ae3aee7
Rollup merge of #82087 - estebank:abolish-ice, r=oli-obk
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-25 14:33:56 +01: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 nhwn: optimize counting digits in line numbers 2021-02-18 08:20:07 -06:00
json.rs Make sure all fields are accounted for in encode_fields! 2021-02-07 14:54:22 -08:00
lib.rs nhwn: make treat_err_as_bug Option<NonZeroUsize> 2021-02-18 05:27:20 -06: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