1
Fork 0
rust/compiler/rustc_errors/src
Xiretza 8bc43f99e9 Allow specifying multiple alternative suggestions
This allows porting uses of span_suggestions() to diagnostic structs.

Doesn't work for multipart_suggestions() because the rank would be
reversed - the struct would specify multiple spans, each of which has
multiple possible replacements, while multipart_suggestions() creates
multiple possible replacements, each with multiple spans.
2022-10-23 18:59:13 +02:00
..
json Use serde_json for json error messages 2022-06-03 16:46:19 +00:00
annotate_snippet_emitter_writer.rs errors: use HashMap to store diagnostic args 2022-10-10 14:20:16 +01:00
diagnostic.rs Allow specifying multiple alternative suggestions 2022-10-23 18:59:13 +02:00
diagnostic_builder.rs errors: add emit_note/create_note 2022-10-07 13:19:27 -06:00
diagnostic_impls.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00
emitter.rs errors: use HashMap to store diagnostic args 2022-10-10 14:20:16 +01:00
json.rs errors: use HashMap to store diagnostic args 2022-10-10 14:20:16 +01:00
lib.rs Rollup merge of #101293 - compiler-errors:lt-is-actually-char, r=estebank 2022-10-23 15:20:16 +05:30
lock.rs
registry.rs Remove (lots of) dead code 2021-03-27 22:16:33 -04:00
snippet.rs Compute most of Public/Exported access level in rustc_resolve 2022-01-09 21:33:14 +00:00
styled_buffer.rs Spellchecking some comments 2022-03-30 01:39:38 -04:00
translation.rs errors: DiagnosticMessage::Eager 2022-10-10 14:20:16 +01:00