d1fcf61117
Instead of loading the Fluent resources for every crate in `rustc_error_messages`, each crate generates typed identifiers for its own diagnostics and creates a static which are pulled together in the `rustc_driver` crate and provided to the diagnostic emitter. Signed-off-by: David Wood <david.wood@huawei.com>
20 lines
799 B
Plaintext
20 lines
799 B
Plaintext
errors_target_invalid_address_space =
|
|
invalid address space `{$addr_space}` for `{$cause}` in "data-layout": {$err}
|
|
|
|
errors_target_invalid_bits =
|
|
invalid {$kind} `{$bit}` for `{$cause}` in "data-layout": {$err}
|
|
|
|
errors_target_missing_alignment =
|
|
missing alignment for `{$cause}` in "data-layout"
|
|
|
|
errors_target_invalid_alignment =
|
|
invalid alignment for `{$cause}` in "data-layout": {$err}
|
|
|
|
errors_target_inconsistent_architecture =
|
|
inconsistent target specification: "data-layout" claims architecture is {$dl}-endian, while "target-endian" is `{$target}`
|
|
|
|
errors_target_inconsistent_pointer_width =
|
|
inconsistent target specification: "data-layout" claims pointers are {$pointer_size}-bit, while "target-pointer-width" is `{$target}`
|
|
|
|
errors_target_invalid_bits_size = {$err}
|