about summary refs log tree commit diff
path: root/compiler/rustc_monomorphize/src/partitioning.rs
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2025-02-07 14:47:21 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2025-02-07 16:02:19 +0000
commit382e4031c28c3603fb279378f247f675e370291d (patch)
tree798d03c7963fd4a7b998994e6eac6e37c6e4fefa /compiler/rustc_monomorphize/src/partitioning.rs
parent550e035a5943f7beb5dee71e005aeba1e33ff28e (diff)
downloadrust-382e4031c28c3603fb279378f247f675e370291d.tar.gz
rust-382e4031c28c3603fb279378f247f675e370291d.zip
Remove Linkage::Private
This is the same as Linkage::Internal except that it doesn't emit any
symbol. Some backends may not support it and it isn't all that useful
anyway.
Diffstat (limited to 'compiler/rustc_monomorphize/src/partitioning.rs')
-rw-r--r--compiler/rustc_monomorphize/src/partitioning.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_monomorphize/src/partitioning.rs b/compiler/rustc_monomorphize/src/partitioning.rs
index 3ef061195da..b5335f29d24 100644
--- a/compiler/rustc_monomorphize/src/partitioning.rs
+++ b/compiler/rustc_monomorphize/src/partitioning.rs
@@ -1240,7 +1240,6 @@ fn collect_and_partition_mono_items(tcx: TyCtxt<'_>, (): ()) -> MonoItemPartitio
                         Linkage::WeakODR => "WeakODR",
                         Linkage::Appending => "Appending",
                         Linkage::Internal => "Internal",
-                        Linkage::Private => "Private",
                         Linkage::ExternalWeak => "ExternalWeak",
                         Linkage::Common => "Common",
                     };