diff --git a/src/librustc/traits/query/mod.rs b/src/librustc/traits/query/mod.rs index fb9f46011b9..440268aab8f 100644 --- a/src/librustc/traits/query/mod.rs +++ b/src/librustc/traits/query/mod.rs @@ -13,7 +13,6 @@ pub mod dropck_outlives; pub mod evaluate_obligation; pub mod method_autoderef; pub mod normalize; -pub mod normalize_erasing_regions; pub mod outlives_bounds; pub mod type_op; diff --git a/src/librustc/ty/mod.rs b/src/librustc/ty/mod.rs index 1698a0685b7..6e7a4d6c53e 100644 --- a/src/librustc/ty/mod.rs +++ b/src/librustc/ty/mod.rs @@ -109,6 +109,7 @@ pub mod flags; pub mod fold; pub mod inhabitedness; pub mod layout; +pub mod normalize_erasing_regions; pub mod outlives; pub mod print; pub mod query; diff --git a/src/librustc/traits/query/normalize_erasing_regions.rs b/src/librustc/ty/normalize_erasing_regions.rs similarity index 100% rename from src/librustc/traits/query/normalize_erasing_regions.rs rename to src/librustc/ty/normalize_erasing_regions.rs