From 56e5eb5fd4c3977fb6abdb867af4a85076045d59 Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Sat, 4 Nov 2017 07:23:21 -0400 Subject: [PATCH] rename mod `region_obligations` to `outlives::obligations` --- src/librustc/infer/mod.rs | 2 +- src/librustc/infer/outlives/mod.rs | 1 + .../infer/{region_obligations.rs => outlives/obligations.rs} | 0 3 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 src/librustc/infer/outlives/mod.rs rename src/librustc/infer/{region_obligations.rs => outlives/obligations.rs} (100%) diff --git a/src/librustc/infer/mod.rs b/src/librustc/infer/mod.rs index 41e1bf303b3..e3db08c0adf 100644 --- a/src/librustc/infer/mod.rs +++ b/src/librustc/infer/mod.rs @@ -55,7 +55,7 @@ pub mod lattice; mod lub; pub mod region_inference; -mod region_obligations; +mod outlives; pub mod resolve; mod freshen; mod sub; diff --git a/src/librustc/infer/outlives/mod.rs b/src/librustc/infer/outlives/mod.rs new file mode 100644 index 00000000000..321c4b87fb3 --- /dev/null +++ b/src/librustc/infer/outlives/mod.rs @@ -0,0 +1 @@ +mod obligations; diff --git a/src/librustc/infer/region_obligations.rs b/src/librustc/infer/outlives/obligations.rs similarity index 100% rename from src/librustc/infer/region_obligations.rs rename to src/librustc/infer/outlives/obligations.rs