Skip to content

Commit 40acdf6

Browse files
Remove unused error messages
1 parent 04d7e1b commit 40acdf6

File tree

4 files changed

+0
-13
lines changed

4 files changed

+0
-13
lines changed

compiler/rustc_attr_parsing/messages.ftl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,8 +242,6 @@ attr_parsing_link_requires_name =
242242
attr_parsing_multiple_modifiers =
243243
multiple `{$modifier}` modifiers in a single `modifiers` argument
244244
245-
attr_parsing_multiple_renamings =
246-
multiple renamings were specified for library `{$lib_name}`
247245
attr_parsing_raw_dylib_no_nul =
248246
link name must not contain NUL characters if link kind is `raw-dylib`
249247

compiler/rustc_metadata/messages.ftl

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -237,11 +237,5 @@ metadata_unknown_target_modifier_unsafe_allowed = unknown target modifier `{$fla
237237
metadata_wasm_c_abi =
238238
older versions of the `wasm-bindgen` crate are incompatible with current versions of Rust; please update to `wasm-bindgen` v0.2.88
239239
240-
metadata_wasm_import_form =
241-
wasm import module must be of the form `wasm_import_module = "string"`
242-
243-
metadata_whole_archive_needs_static =
244-
linking modifier `whole-archive` is only compatible with `static` linking kind
245-
246240
metadata_raw_dylib_malformed =
247241
link name must be well-formed if link kind is `raw-dylib`

compiler/rustc_parse/messages.ftl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -868,7 +868,6 @@ parse_too_many_hashes = too many `#` symbols: raw strings may be delimited by up
868868
parse_too_short_hex_escape = numeric character escape is too short
869869
870870
parse_trailing_vert_not_allowed = a trailing `{$token}` is not allowed in an or-pattern
871-
parse_trailing_vert_not_allowed_suggestion = remove the `{$token}`
872871
873872
parse_trait_alias_cannot_be_auto = trait aliases cannot be `auto`
874873
parse_trait_alias_cannot_be_const = trait aliases cannot be `const`

compiler/rustc_ty_utils/messages.ftl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,10 @@ ty_utils_non_primitive_simd_type = monomorphising SIMD type `{$ty}` with a non-p
5252
5353
ty_utils_operation_not_supported = unsupported operation in generic constants
5454
55-
ty_utils_oversized_simd_type = monomorphising SIMD type `{$ty}` of length greater than {$max_lanes}
56-
5755
ty_utils_pointer_not_supported = pointer casts are not allowed in generic constants
5856
5957
ty_utils_tuple_not_supported = tuple construction is not supported in generic constants
6058
6159
ty_utils_unexpected_fnptr_associated_item = `FnPtr` trait with unexpected associated item
6260
6361
ty_utils_yield_not_supported = coroutine control flow is not allowed in generic constants
64-
65-
ty_utils_zero_length_simd_type = monomorphising SIMD type `{$ty}` of zero length

0 commit comments

Comments
 (0)