Skip to content

Commit c0683a5

Browse files
committed
fix error messages
1 parent 78c7f0f commit c0683a5

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

compiler/rustc_passes/messages.ftl

-11
Original file line numberDiff line numberDiff line change
@@ -438,11 +438,6 @@ passes_invalid_macro_export_arguments = `{$name}` isn't a valid `#[macro_export]
438438
439439
passes_invalid_macro_export_arguments_too_many_items = `#[macro_export]` can only take 1 or 0 arguments
440440
441-
passes_lang_item_fn = {$name ->
442-
[panic_impl] `#[panic_handler]`
443-
*[other] `{$name}` lang item
444-
} function
445-
446441
passes_lang_item_on_incorrect_target =
447442
`{$name}` lang item must be applied to a {$expected_target}
448443
.label = attribute should be applied to a {$expected_target}, not a {$actual_target}
@@ -761,12 +756,6 @@ passes_trait_impl_const_stable =
761756
passes_transparent_incompatible =
762757
transparent {$target} cannot have other repr hints
763758
764-
passes_undefined_naked_function_abi =
765-
Rust ABI is unsupported in naked functions
766-
767-
passes_unknown_external_lang_item =
768-
unknown external lang item: `{$lang_item}`
769-
770759
passes_unknown_feature =
771760
unknown feature `{$feature}`
772761

0 commit comments

Comments
 (0)