Reduce exposure of some items.
This commit is contained in:
parent
290fc68f2d
commit
e2664eba50
11 changed files with 16 additions and 16 deletions
|
@ -6,7 +6,7 @@ use rustc_middle::query::Providers;
|
|||
use rustc_middle::ty::{self, Representability, Ty, TyCtxt};
|
||||
use rustc_span::def_id::LocalDefId;
|
||||
|
||||
pub fn provide(providers: &mut Providers) {
|
||||
pub(crate) fn provide(providers: &mut Providers) {
|
||||
*providers =
|
||||
Providers { representability, representability_adt_ty, params_in_repr, ..*providers };
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue