diff options
| author | est31 <MTest31@outlook.com> | 2023-03-03 00:18:38 +0100 |
|---|---|---|
| committer | est31 <MTest31@outlook.com> | 2023-03-11 22:51:57 +0100 |
| commit | 7e2ecb3cd84eae18e838624feeb2e5cf46b9cc57 (patch) | |
| tree | 7860aa3f74b935678b7c44db119bb9e51035b351 /compiler/rustc_monomorphize/messages.ftl | |
| parent | 8a73f50d875840b8077b8ec080fa41881d7ce40d (diff) | |
| download | rust-7e2ecb3cd84eae18e838624feeb2e5cf46b9cc57.tar.gz rust-7e2ecb3cd84eae18e838624feeb2e5cf46b9cc57.zip | |
Simplify message paths
This makes it easier to open the messages file while developing on features. The commit was the result of automatted changes: for p in compiler/rustc_*; do mv $p/locales/en-US.ftl $p/messages.ftl; rmdir $p/locales; done for p in compiler/rustc_*; do sed -i "s#\.\./locales/en-US.ftl#../messages.ftl#" $p/src/lib.rs; done
Diffstat (limited to 'compiler/rustc_monomorphize/messages.ftl')
| -rw-r--r-- | compiler/rustc_monomorphize/messages.ftl | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/compiler/rustc_monomorphize/messages.ftl b/compiler/rustc_monomorphize/messages.ftl new file mode 100644 index 00000000000..6cea6a603f3 --- /dev/null +++ b/compiler/rustc_monomorphize/messages.ftl @@ -0,0 +1,32 @@ +monomorphize_recursion_limit = + reached the recursion limit while instantiating `{$shrunk}` + .note = `{$def_path_str}` defined here + +monomorphize_written_to_path = the full type name has been written to '{$path}' + +monomorphize_type_length_limit = reached the type-length limit while instantiating `{$shrunk}` + +monomorphize_consider_type_length_limit = + consider adding a `#![type_length_limit="{$type_length}"]` attribute to your crate + +monomorphize_fatal_error = {$error_message} + +monomorphize_unknown_partition_strategy = unknown partitioning strategy + +monomorphize_symbol_already_defined = symbol `{$symbol}` is already defined + +monomorphize_unused_generic_params = item has unused generic parameters + +monomorphize_large_assignments = + moving {$size} bytes + .label = value moved from here + .note = The current maximum size is {$limit}, but it can be customized with the move_size_limit attribute: `#![move_size_limit = "..."]` + +monomorphize_couldnt_dump_mono_stats = + unexpected error occurred while dumping monomorphization stats: {$error} + +monomorphize_encountered_error_while_instantiating = + the above error was encountered while instantiating `{$formatted_item}` + +monomorphize_unknown_cgu_collection_mode = + unknown codegen-item collection mode '{$mode}', falling back to 'lazy' mode |
