Skip to content

Commit a145b49

Browse files
committed
Remove UnknownPartitionStrategy error.
This became unused in #112053, when `-Zcgu-partitioning-strategy` was removed.
1 parent 4f92337 commit a145b49

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

Diff for: compiler/rustc_monomorphize/messages.ftl

-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ monomorphize_type_length_limit = reached the type-length limit while instantiati
2727
monomorphize_unknown_cgu_collection_mode =
2828
unknown codegen-item collection mode '{$mode}', falling back to 'lazy' mode
2929
30-
monomorphize_unknown_partition_strategy = unknown partitioning strategy
31-
3230
monomorphize_unused_generic_params = item has unused generic parameters
3331
3432
monomorphize_written_to_path = the full type name has been written to '{$path}'

Diff for: compiler/rustc_monomorphize/src/errors.rs

-4
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,6 @@ pub struct LargeAssignmentsLint {
7575
pub limit: u64,
7676
}
7777

78-
#[derive(Diagnostic)]
79-
#[diag(monomorphize_unknown_partition_strategy)]
80-
pub struct UnknownPartitionStrategy;
81-
8278
#[derive(Diagnostic)]
8379
#[diag(monomorphize_symbol_already_defined)]
8480
pub struct SymbolAlreadyDefined {

0 commit comments

Comments
 (0)