Skip to content

Commit

Permalink
convert region_inference into a module, so I can attach docs
Browse files Browse the repository at this point in the history
  • Loading branch information
nikomatsakis committed Jul 2, 2013
1 parent 79ea266 commit 9d48a7d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/librustc/middle/region.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ pass builds up the `scope_map`, which describes the parent links in
the region hierarchy. The second pass infers which types must be
region parameterized.
Most of the documentation on regions can be found in
`middle/typeck/infer/region_inference.rs`
*/


Expand Down
1 change: 1 addition & 0 deletions src/librustc/middle/typeck/infer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ pub mod combine;
pub mod glb;
pub mod lattice;
pub mod lub;
#[path = "region_inference/mod.rs"]
pub mod region_inference;
pub mod resolve;
pub mod sub;
Expand Down

0 comments on commit 9d48a7d

Please sign in to comment.