mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-03 02:40:40 +00:00

a more general version of https://github.com/rust-lang/rust/pull/146080. after a bit of hacking in [`fluent.rs`](https://github.com/rust-lang/rust/blob/master/compiler/rustc_fluent_macro/src/fluent.rs), i discovered that i'm not the only one that is bad at following guidelines 😅. this pr lowercases the first letter of all the error messages in the codebase. (i did not change things that are traditionally uppercased such as _MIR_, _ABI_ or _C_) i think it's reasonable to run a `@bors try` so all the test suite is checked, as i cannot run some of the tests on my machine. i double checked (and replaced manually) all the old error messages, but better be safe than sorry. in the future i will try to add a check in `x test tidy` that errors if an error message starts with an uppercase letter.
30 lines
1.6 KiB
Plaintext
30 lines
1.6 KiB
Plaintext
driver_impl_cant_emit_mir = could not emit MIR: {$error}
|
|
|
|
driver_impl_ice = the compiler unexpectedly panicked. this is a bug.
|
|
driver_impl_ice_bug_report = we would appreciate a bug report: {$bug_report_url}
|
|
driver_impl_ice_bug_report_internal_feature = using internal features is not supported and expected to cause internal compiler errors when used incorrectly
|
|
driver_impl_ice_bug_report_update_note = please make sure that you have updated to the latest nightly
|
|
driver_impl_ice_exclude_cargo_defaults = some of the compiler flags provided by cargo are hidden
|
|
|
|
driver_impl_ice_flags = compiler flags: {$flags}
|
|
driver_impl_ice_path = please attach the file at `{$path}` to your bug report
|
|
driver_impl_ice_path_error = the ICE couldn't be written to `{$path}`: {$error}
|
|
driver_impl_ice_path_error_env = the environment variable `RUSTC_ICE` is set to `{$env_var}`
|
|
driver_impl_ice_version = rustc {$version} running on {$triple}
|
|
|
|
driver_impl_rlink_corrupt_file = corrupt metadata encountered in `{$file}`
|
|
|
|
driver_impl_rlink_empty_version_number = the input does not contain version number
|
|
|
|
driver_impl_rlink_encoding_version_mismatch = .rlink file was produced with encoding version `{$version_array}`, but the current version is `{$rlink_version}`
|
|
|
|
driver_impl_rlink_no_a_file = rlink must be a file
|
|
|
|
driver_impl_rlink_rustc_version_mismatch = .rlink file was produced by rustc version `{$rustc_version}`, but the current version is `{$current_version}`
|
|
|
|
driver_impl_rlink_unable_to_read = failed to read rlink file: `{$err}`
|
|
|
|
driver_impl_rlink_wrong_file_type = the input does not look like a .rlink file
|
|
|
|
driver_impl_unstable_feature_usage = cannot dump feature usage metrics: {$error}
|