diff options
| author | Ralf Jung <post@ralfj.de> | 2022-08-31 14:29:53 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-31 14:29:53 +0200 |
| commit | 59d2c1917a61d32109f1d2fb33d5956be813976d (patch) | |
| tree | 0381df8a5e3aa660c01e9469ad7f550bcac9f3ee /compiler/rustc_error_messages | |
| parent | 24922b7a828361399aeed73a802e786f035a6d4f (diff) | |
| parent | 3ee69463164ac33af6eb483ccd2f64b06730c220 (diff) | |
| download | rust-59d2c1917a61d32109f1d2fb33d5956be813976d.tar.gz rust-59d2c1917a61d32109f1d2fb33d5956be813976d.zip | |
Rollup merge of #100831 - JhonnyBillM:migrate-symbol-mangling-to-diagnostics-structs, r=davidtwco
Migrate `symbol_mangling` module to new diagnostics structs
Diffstat (limited to 'compiler/rustc_error_messages')
| -rw-r--r-- | compiler/rustc_error_messages/locales/en-US/symbol_mangling.ftl | 7 | ||||
| -rw-r--r-- | compiler/rustc_error_messages/src/lib.rs | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/compiler/rustc_error_messages/locales/en-US/symbol_mangling.ftl b/compiler/rustc_error_messages/locales/en-US/symbol_mangling.ftl new file mode 100644 index 00000000000..55d6fbbf86f --- /dev/null +++ b/compiler/rustc_error_messages/locales/en-US/symbol_mangling.ftl @@ -0,0 +1,7 @@ +symbol_mangling_invalid_symbol_name = symbol-name({$mangled_formatted}) + +symbol_mangling_invalid_trait_item = demangling({$demangling_formatted}) + +symbol_mangling_alt_invalid_trait_item = demangling-alt({$alt_demangling_formatted}) + +symbol_mangling_invalid_def_path = def-path({$def_path}) diff --git a/compiler/rustc_error_messages/src/lib.rs b/compiler/rustc_error_messages/src/lib.rs index 254e96ddd63..42fb2d538b0 100644 --- a/compiler/rustc_error_messages/src/lib.rs +++ b/compiler/rustc_error_messages/src/lib.rs @@ -54,6 +54,7 @@ fluent_messages! { ty_utils => "../locales/en-US/ty_utils.ftl", typeck => "../locales/en-US/typeck.ftl", mir_dataflow => "../locales/en-US/mir_dataflow.ftl", + symbol_mangling => "../locales/en-US/symbol_mangling.ftl", } pub use fluent_generated::{self as fluent, DEFAULT_LOCALE_RESOURCES}; |
