Skip to content

Commit f9a9ff2

Browse files
committed
cleanup on messages
1 parent b4e54c6 commit f9a9ff2

File tree

4 files changed

+0
-20
lines changed

4 files changed

+0
-20
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
@@ -250,12 +247,6 @@ borrowck_var_move_by_use_in_closure =
250247
borrowck_var_move_by_use_in_generator =
251248
move occurs due to use in generator
252249
253-
borrowck_var_move_by_use_place_in_closure =
254-
move occurs due to use of {$place} in closure
255-
256-
borrowck_var_move_by_use_place_in_generator =
257-
move occurs due to use of {$place} in generator
258-
259250
borrowck_var_mutable_borrow_by_use_place_in_closure =
260251
mutable borrow occurs due to use of {$place} in closure
261252

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

0 commit comments

Comments
 (0)