about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2023-10-18 14:39:14 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2023-10-18 14:42:58 +1100
commita145b498e06096df97af72afaf7ca82742bbdded (patch)
treedda5ea16ef1159e6e97fbd0b7eeaa80b6e6a9109
parent4f923376b6d08a222c08d0ee15ea7c0742ebaa4a (diff)
downloadrust-a145b498e06096df97af72afaf7ca82742bbdded.tar.gz
rust-a145b498e06096df97af72afaf7ca82742bbdded.zip
Remove `UnknownPartitionStrategy` error.
This became unused in #112053, when `-Zcgu-partitioning-strategy` was
removed.
-rw-r--r--compiler/rustc_monomorphize/messages.ftl2
-rw-r--r--compiler/rustc_monomorphize/src/errors.rs4
2 files changed, 0 insertions, 6 deletions
diff --git a/compiler/rustc_monomorphize/messages.ftl b/compiler/rustc_monomorphize/messages.ftl
index cf23d79afaf..e27875853df 100644
--- a/compiler/rustc_monomorphize/messages.ftl
+++ b/compiler/rustc_monomorphize/messages.ftl
@@ -27,8 +27,6 @@ monomorphize_type_length_limit = reached the type-length limit while instantiati
 monomorphize_unknown_cgu_collection_mode =
     unknown codegen-item collection mode '{$mode}', falling back to 'lazy' mode
 
-monomorphize_unknown_partition_strategy = unknown partitioning strategy
-
 monomorphize_unused_generic_params = item has unused generic parameters
 
 monomorphize_written_to_path = the full type name has been written to '{$path}'
diff --git a/compiler/rustc_monomorphize/src/errors.rs b/compiler/rustc_monomorphize/src/errors.rs
index fdcc95f137f..d242a7baec1 100644
--- a/compiler/rustc_monomorphize/src/errors.rs
+++ b/compiler/rustc_monomorphize/src/errors.rs
@@ -76,10 +76,6 @@ pub struct LargeAssignmentsLint {
 }
 
 #[derive(Diagnostic)]
-#[diag(monomorphize_unknown_partition_strategy)]
-pub struct UnknownPartitionStrategy;
-
-#[derive(Diagnostic)]
 #[diag(monomorphize_symbol_already_defined)]
 pub struct SymbolAlreadyDefined {
     #[primary_span]