From 5cd2c67c25e8f85625620f24d894973fcab41c8c Mon Sep 17 00:00:00 2001 From: adamrk Date: Wed, 2 Sep 2020 22:55:05 +0200 Subject: Make unify private again --- crates/hir_ty/src/infer.rs | 2 +- crates/hir_ty/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/hir_ty') diff --git a/crates/hir_ty/src/infer.rs b/crates/hir_ty/src/infer.rs index 2db05ae78..03b00b101 100644 --- a/crates/hir_ty/src/infer.rs +++ b/crates/hir_ty/src/infer.rs @@ -55,7 +55,7 @@ macro_rules! ty_app { }; } -pub mod unify; +mod unify; mod path; mod expr; mod pat; diff --git a/crates/hir_ty/src/lib.rs b/crates/hir_ty/src/lib.rs index 681f98bde..1e748476a 100644 --- a/crates/hir_ty/src/lib.rs +++ b/crates/hir_ty/src/lib.rs @@ -43,7 +43,7 @@ use crate::{ }; pub use autoderef::autoderef; -pub use infer::{unify, InferTy, InferenceResult}; +pub use infer::{InferTy, InferenceResult}; pub use lower::CallableDefId; pub use lower::{ associated_type_shorthand_candidates, callable_item_sig, ImplTraitLoweringMode, TyDefId, -- cgit v1.2.3