You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
a more general version of #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.
compact `cfg(target(..))` is experimental and subject to change
153
153
154
-
attr_parsing_unstable_feature_bound_incompatible_stability = Item annotated with `#[unstable_feature_bound]` should not be stable
154
+
attr_parsing_unstable_feature_bound_incompatible_stability = item annotated with `#[unstable_feature_bound]` should not be stable
155
155
.help = If this item is meant to be stable, do not use any functions annotated with `#[unstable_feature_bound]`. Otherwise, mark this item as unstable with `#[unstable]`
.note = only 'staticlib', 'bin', and 'cdylib' outputs are supported with LTO
41
41
42
42
codegen_ssa_error_calling_dlltool =
43
-
Error calling dlltool '{$dlltool_path}': {$error}
43
+
error calling dlltool '{$dlltool_path}': {$error}
44
44
45
45
codegen_ssa_error_creating_import_library =
46
-
Error creating import library for {$lib_name}: {$error}
46
+
error creating import library for {$lib_name}: {$error}
47
47
48
48
codegen_ssa_error_creating_remark_dir = failed to create remark directory: {$error}
49
49
50
50
codegen_ssa_error_writing_def_file =
51
-
Error writing .DEF file: {$error}
51
+
error writing .DEF file: {$error}
52
52
53
53
codegen_ssa_expected_name_value_pair = expected name value pair
54
54
@@ -264,9 +264,9 @@ codegen_ssa_shuffle_indices_evaluation = could not evaluate shuffle_indices at c
264
264
265
265
codegen_ssa_specify_libraries_to_link = use the `-l` flag to specify native libraries to link
266
266
267
-
codegen_ssa_static_library_native_artifacts = Link against the following native artifacts when linking against this static library. The order and any duplication can be significant on some platforms.
267
+
codegen_ssa_static_library_native_artifacts = link against the following native artifacts when linking against this static library. The order and any duplication can be significant on some platforms.
268
268
269
-
codegen_ssa_static_library_native_artifacts_to_file = Native artifacts to link against have been written to {$path}. The order and any duplication can be significant on some platforms.
269
+
codegen_ssa_static_library_native_artifacts_to_file = native artifacts to link against have been written to {$path}. The order and any duplication can be significant on some platforms.
270
270
271
271
codegen_ssa_stripping_debug_info_failed = stripping debug info with `{$util}` failed: {$status}
272
272
.note = {$output}
@@ -364,13 +364,13 @@ codegen_ssa_unable_to_run = unable to run `{$util}`: {$error}
364
364
365
365
codegen_ssa_unable_to_run_dsymutil = unable to run `dsymutil`: {$error}
366
366
367
-
codegen_ssa_unable_to_write_debugger_visualizer = Unable to write debugger visualizer file `{$path}`: {$error}
367
+
codegen_ssa_unable_to_write_debugger_visualizer = unable to write debugger visualizer file `{$path}`: {$error}
368
368
369
369
codegen_ssa_unexpected_parameter_name = unexpected parameter name
370
370
.label = expected `{$prefix_nops}` or `{$entry_nops}`
371
371
372
372
codegen_ssa_unknown_archive_kind =
373
-
Don't know how to build archive of type: {$kind}
373
+
don't know how to build archive of type: {$kind}
374
374
375
375
codegen_ssa_unknown_ctarget_feature =
376
376
unknown and unstable feature specified for `-Ctarget-feature`: `{$feature}`
The rules on what exactly is undefined behavior aren't clear, so this check might be overzealous. Please open an issue on the rustc repository if you believe it should not be considered undefined behavior.
460
+
the rules on what exactly is undefined behavior aren't clear, so this check might be overzealous. Please open an issue on the rustc repository if you believe it should not be considered undefined behavior.
461
461
462
462
const_eval_validation_front_matter_invalid_value = constructing invalid value
463
463
const_eval_validation_front_matter_invalid_value_with_path = constructing invalid value at {$path}
driver_impl_rlink_corrupt_file = corrupt metadata encountered in `{$file}`
16
16
17
-
driver_impl_rlink_empty_version_number = The input does not contain version number
17
+
driver_impl_rlink_empty_version_number = the input does not contain version number
18
18
19
19
driver_impl_rlink_encoding_version_mismatch = .rlink file was produced with encoding version `{$version_array}`, but the current version is `{$rlink_version}`
20
20
@@ -24,6 +24,6 @@ driver_impl_rlink_rustc_version_mismatch = .rlink file was produced by rustc ver
24
24
25
25
driver_impl_rlink_unable_to_read = failed to read rlink file: `{$err}`
26
26
27
-
driver_impl_rlink_wrong_file_type = The input does not look like a .rlink file
27
+
driver_impl_rlink_wrong_file_type = the input does not look like a .rlink file
note: Link against the following native artifacts when linking against this static library. The order and any duplication can be significant on some platforms.
187
+
note: link against the following native artifacts when linking against this static library. The order and any duplication can be significant on some platforms.
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ it is undefined behavior to use this value
16
16
|
17
-
= note: The rules on what exactly is undefined behavior aren't clear, so this check might be overzealous. Please open an issue on the rustc repository if you believe it should not be considered undefined behavior.
17
+
= note: the rules on what exactly is undefined behavior aren't clear, so this check might be overzealous. Please open an issue on the rustc repository if you believe it should not be considered undefined behavior.
18
18
= note: the raw bytes of the constant (size: 1, align: 1) {
19
19
42 │ B
20
20
}
@@ -25,7 +25,7 @@ error[E0080]: constructing invalid value: encountered 0x42, but expected a boole
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ it is undefined behavior to use this value
27
27
|
28
-
= note: The rules on what exactly is undefined behavior aren't clear, so this check might be overzealous. Please open an issue on the rustc repository if you believe it should not be considered undefined behavior.
28
+
= note: the rules on what exactly is undefined behavior aren't clear, so this check might be overzealous. Please open an issue on the rustc repository if you believe it should not be considered undefined behavior.
29
29
= note: the raw bytes of the constant (size: 1, align: 1) {
0 commit comments