Skip to content

Commit 9d48a7d

Browse files
committed
convert region_inference into a module, so I can attach docs
1 parent 79ea266 commit 9d48a7d

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

src/librustc/middle/region.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ pass builds up the `scope_map`, which describes the parent links in
1515
the region hierarchy. The second pass infers which types must be
1616
region parameterized.
1717
18+
Most of the documentation on regions can be found in
19+
`middle/typeck/infer/region_inference.rs`
20+
1821
*/
1922

2023

src/librustc/middle/typeck/infer/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ pub mod combine;
5151
pub mod glb;
5252
pub mod lattice;
5353
pub mod lub;
54+
#[path = "region_inference/mod.rs"]
5455
pub mod region_inference;
5556
pub mod resolve;
5657
pub mod sub;

0 commit comments

Comments
 (0)