Skip to content

Commit 044d327

Browse files
committed
more cleanup on messages
1 parent 431362a commit 044d327

File tree

5 files changed

+0
-32
lines changed

5 files changed

+0
-32
lines changed

compiler/rustc_ast_lowering/messages.ftl

-4
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@ ast_lowering_bad_return_type_notation_inputs =
2929
argument types not allowed with return type notation
3030
.suggestion = remove the input types
3131
32-
ast_lowering_bad_return_type_notation_needs_dots =
33-
return type notation arguments must be elided with `..`
34-
.suggestion = add `..`
35-
3632
ast_lowering_bad_return_type_notation_output =
3733
return type not allowed with return type notation
3834
.suggestion = remove the return type

compiler/rustc_borrowck/messages.ftl

-9
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,6 @@ borrowck_higher_ranked_subtype_error =
7474
borrowck_lifetime_constraints_error =
7575
lifetime may not live long enough
7676
77-
borrowck_move_borrowed =
78-
cannot move out of `{$desc}` because it is borrowed
79-
8077
borrowck_move_out_place_here =
8178
{$place} is moved here
8279
@@ -248,12 +245,6 @@ borrowck_var_move_by_use_in_closure =
248245
borrowck_var_move_by_use_in_generator =
249246
move occurs due to use in generator
250247
251-
borrowck_var_move_by_use_place_in_closure =
252-
move occurs due to use of {$place} in closure
253-
254-
borrowck_var_move_by_use_place_in_generator =
255-
move occurs due to use of {$place} in generator
256-
257248
borrowck_var_mutable_borrow_by_use_place_in_closure =
258249
mutable borrow occurs due to use of {$place} in closure
259250

compiler/rustc_metadata/messages.ftl

-3
Original file line numberDiff line numberDiff line change
@@ -259,9 +259,6 @@ metadata_std_required =
259259
metadata_symbol_conflicts_current =
260260
the current crate is indistinguishable from one of its dependencies: it has the same crate-name `{$crate_name}` and was compiled with the same `-C metadata` arguments. This will result in symbol conflicts between the two.
261261
262-
metadata_symbol_conflicts_others =
263-
found two different crates with name `{$crate_name}` that are not distinguished by differing `-C metadata`. This will result in symbol conflicts between the two.
264-
265262
metadata_target_no_std_support =
266263
the `{$locator_triple}` target may not support the standard library
267264

compiler/rustc_passes/messages.ftl

-4
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,6 @@ passes_collapse_debuginfo =
104104
passes_confusables = attribute should be applied to an inherent method
105105
.label = not an inherent method
106106
107-
passes_const_impl_const_trait =
108-
const `impl`s must be for traits marked with `#[const_trait]`
109-
.note = this trait must be annotated with `#[const_trait]`
110-
111107
passes_continue_labeled_block =
112108
`continue` pointing to a labeled block
113109
.label = labeled blocks cannot be `continue`'d

compiler/rustc_resolve/messages.ftl

-12
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,6 @@ resolve_cannot_find_ident_in_this_scope =
6464
resolve_cannot_glob_import_possible_crates =
6565
cannot glob-import all possible crates
6666
67-
resolve_cannot_use_self_type_here =
68-
can't use `Self` here
69-
7067
resolve_change_import_binding =
7168
you can use `as` to change the binding name of the import
7269
@@ -86,9 +83,6 @@ resolve_const_not_member_of_trait =
8683
const `{$const_}` is not a member of trait `{$trait_}`
8784
.label = not a member of trait `{$trait_}`
8885
89-
resolve_const_param_from_outer_fn =
90-
const parameter from outer function
91-
9286
resolve_const_param_in_enum_discriminant =
9387
const parameters may not be used in enum discriminant values
9488
@@ -273,9 +267,6 @@ resolve_type_not_member_of_trait =
273267
type `{$type_}` is not a member of trait `{$trait_}`
274268
.label = not a member of trait `{$trait_}`
275269
276-
resolve_type_param_from_outer_fn =
277-
type parameter from outer function
278-
279270
resolve_type_param_in_enum_discriminant =
280271
type parameters may not be used in enum discriminant values
281272
@@ -311,9 +302,6 @@ resolve_unreachable_label_suggestion_use_similarly_named =
311302
resolve_unreachable_label_with_similar_name_exists =
312303
a label with a similar name exists but is unreachable
313304
314-
resolve_use_a_type_here_instead =
315-
use a type here instead
316-
317305
resolve_variable_bound_with_different_mode =
318306
variable `{$variable_name}` is bound inconsistently across alternatives separated by `|`
319307
.label = bound in different ways

0 commit comments

Comments
 (0)