about summary refs log tree commit diff
path: root/compiler/rustc_ty_utils/src/ty.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-11-21 08:40:39 +0000
committerbors <bors@rust-lang.org>2023-11-21 08:40:39 +0000
commitc5af0610196bc39c44e54f1e08bd9149bdc66929 (patch)
tree86d214f395b4d0a2c4ecb44d12b53e67a37c458b /compiler/rustc_ty_utils/src/ty.rs
parent85c42b751e65bd77044163e35a3b73ed7d15bec3 (diff)
parentf13f9809003665fb323ee715102ca8a5914810e8 (diff)
downloadrust-c5af0610196bc39c44e54f1e08bd9149bdc66929.tar.gz
rust-c5af0610196bc39c44e54f1e08bd9149bdc66929.zip
Auto merge of #118126 - Nilstrieb:rollup-5ogh896, r=Nilstrieb
Rollup of 7 pull requests

Successful merges:

 - #117790 (CFI: Add missing use core::ffi::c_int)
 - #118059 (Explicitly unset $CARGO for compiletest)
 - #118081 (`rustc_ty_utils` cleanups)
 - #118094 (feat: specialize `SpecFromElem` for `()`)
 - #118097 (Update books)
 - #118115 (Fix occurrences of old fn names in comment and tracing)
 - #118121 (`rustc_hir` cleanups)

r? `@ghost`
`@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_ty_utils/src/ty.rs')
-rw-r--r--compiler/rustc_ty_utils/src/ty.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_ty_utils/src/ty.rs b/compiler/rustc_ty_utils/src/ty.rs
index 485bde735d8..b7c75da7301 100644
--- a/compiler/rustc_ty_utils/src/ty.rs
+++ b/compiler/rustc_ty_utils/src/ty.rs
@@ -351,7 +351,7 @@ fn unsizing_params_for_adt<'tcx>(tcx: TyCtxt<'tcx>, def_id: DefId) -> BitSet<u32
     unsizing_params
 }
 
-pub fn provide(providers: &mut Providers) {
+pub(crate) fn provide(providers: &mut Providers) {
     *providers = Providers {
         asyncness,
         adt_sized_constraint,