rust/compiler/rustc_errors/src
David Wood 2eebd34cd5 errors: don't fail on broken primary translations
If a primary bundle doesn't contain a message then the fallback bundle
is used. However, if the primary bundle's message is broken (e.g. it
refers to a interpolated variable that the compiler isn't providing)
then this would just result in a compiler panic. While there aren't any
primary bundles right now, this is the type of issue that could come up
once translation is further along.

Signed-off-by: David Wood <david.wood@huawei.com>
2022-08-10 11:48:25 +01:00
..
json Use serde_json for json error messages 2022-06-03 16:46:19 +00:00
annotate_snippet_emitter_writer.rs dedupe 'annotate-snippets' crate versions 2022-08-02 21:07:01 +03:00
diagnostic_builder.rs errors: lint on LintDiagnosticBuilder::build 2022-07-15 16:13:47 +01:00
diagnostic.rs move DiagnosticArgFromDisplay into rustc_errors 2022-08-05 16:44:01 +00:00
emitter.rs errors: don't fail on broken primary translations 2022-08-10 11:48:25 +01:00
json.rs session: output-width -> diagnostic-width 2022-07-06 17:43:33 +01:00
lib.rs errors: don't fail on broken primary translations 2022-08-10 11:48:25 +01:00
lock.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
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