about summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2025-06-03 10:00:56 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2025-06-03 10:00:56 +0000
commit2e8401ae5f293070f57b964252db7b38d3f2fc2a (patch)
treeefbcef5ccd349ee00d3957a4972ac2a958aab6bc /compiler/rustc_codegen_ssa/src
parent00a88b903d3728517dff8f0044160d18a0322ab4 (diff)
downloadrust-2e8401ae5f293070f57b964252db7b38d3f2fc2a.tar.gz
rust-2e8401ae5f293070f57b964252db7b38d3f2fc2a.zip
Remove type_test from IntrinsicCallBuilderMethods
It is only used within cg_llvm.
Diffstat (limited to 'compiler/rustc_codegen_ssa/src')
-rw-r--r--compiler/rustc_codegen_ssa/src/traits/intrinsic.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_ssa/src/traits/intrinsic.rs b/compiler/rustc_codegen_ssa/src/traits/intrinsic.rs
index a07c569a032..7d0c6be4c65 100644
--- a/compiler/rustc_codegen_ssa/src/traits/intrinsic.rs
+++ b/compiler/rustc_codegen_ssa/src/traits/intrinsic.rs
@@ -22,8 +22,6 @@ pub trait IntrinsicCallBuilderMethods<'tcx>: BackendTypes {
     fn abort(&mut self);
     fn assume(&mut self, val: Self::Value);
     fn expect(&mut self, cond: Self::Value, expected: bool) -> Self::Value;
-    /// Trait method used to test whether a given pointer is associated with a type identifier.
-    fn type_test(&mut self, pointer: Self::Value, typeid: Self::Metadata) -> Self::Value;
     /// Trait method used to load a function while testing if it is associated with a type
     /// identifier.
     fn type_checked_load(