about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-04-21 06:44:30 +0200
committerGitHub <noreply@github.com>2023-04-21 06:44:30 +0200
commita8e239468bc8e85be6b85245f2f406d58e930ed2 (patch)
treeef04751f4b693b944513792fd44107a09601c126
parent637d9ddc35552a3ccc163efc5df2fc7af642c38f (diff)
parent82cb8a2933e04bc362869e47f10b041242911c10 (diff)
downloadrust-a8e239468bc8e85be6b85245f2f406d58e930ed2.tar.gz
rust-a8e239468bc8e85be6b85245f2f406d58e930ed2.zip
Rollup merge of #110597 - lcnr:not-pin-via-negative-bound, r=compiler-errors
remove unused ftl messages

r? `@davidtwco`

does it make sense to check via tidy that there exist no ftl message names which are never mentioned in `compiler/**.rs`
-rw-r--r--compiler/rustc_hir_typeck/messages.ftl15
1 files changed, 0 insertions, 15 deletions
diff --git a/compiler/rustc_hir_typeck/messages.ftl b/compiler/rustc_hir_typeck/messages.ftl
index 2c537bf4064..6d40df7d0cc 100644
--- a/compiler/rustc_hir_typeck/messages.ftl
+++ b/compiler/rustc_hir_typeck/messages.ftl
@@ -3,21 +3,6 @@ hir_typeck_field_multiply_specified_in_initializer =
     .label = used more than once
     .previous_use_label = first use of `{$ident}`
 
-hir_typeck_copy_impl_on_type_with_dtor =
-    the trait `Copy` cannot be implemented for this type; the type has a destructor
-    .label = `Copy` not allowed on types with destructors
-
-hir_typeck_multiple_relaxed_default_bounds =
-    type parameter has more than one relaxed default bound, only one is supported
-
-hir_typeck_copy_impl_on_non_adt =
-    the trait `Copy` cannot be implemented for this type
-    .label = type is not a structure or enumeration
-
-hir_typeck_trait_object_declared_with_no_traits =
-    at least one trait is required for an object type
-    .alias_span = this alias does not contain a trait
-
 hir_typeck_functional_record_update_on_non_struct =
     functional record update syntax requires a struct