about summary refs log tree commit diff
path: root/compiler/rustc_ty_utils/src/abi.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2023-11-16 17:08:27 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2023-11-20 14:10:19 +1100
commite2664eba508bc8c089d81cde5932adbc51f5ca89 (patch)
treef84df04fba58b5c5cfec3c2f32fb4ef3812a9abd /compiler/rustc_ty_utils/src/abi.rs
parent290fc68f2d27b67da5fd176965c42c01ea4c57fe (diff)
downloadrust-e2664eba508bc8c089d81cde5932adbc51f5ca89.tar.gz
rust-e2664eba508bc8c089d81cde5932adbc51f5ca89.zip
Reduce exposure of some items.
Diffstat (limited to 'compiler/rustc_ty_utils/src/abi.rs')
-rw-r--r--compiler/rustc_ty_utils/src/abi.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_ty_utils/src/abi.rs b/compiler/rustc_ty_utils/src/abi.rs
index 38f2d616f9a..4a3c02bc19c 100644
--- a/compiler/rustc_ty_utils/src/abi.rs
+++ b/compiler/rustc_ty_utils/src/abi.rs
@@ -16,7 +16,7 @@ use rustc_target::spec::abi::Abi as SpecAbi;
 
 use std::iter;
 
-pub fn provide(providers: &mut Providers) {
+pub(crate) fn provide(providers: &mut Providers) {
     *providers = Providers { fn_abi_of_fn_ptr, fn_abi_of_instance, ..*providers };
 }