convert region_inference into a module, so I can attach docs
This commit is contained in:
parent
79ea26630d
commit
9d48a7d550
3 changed files with 4 additions and 0 deletions
|
@ -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
|
the region hierarchy. The second pass infers which types must be
|
||||||
region parameterized.
|
region parameterized.
|
||||||
|
|
||||||
|
Most of the documentation on regions can be found in
|
||||||
|
`middle/typeck/infer/region_inference.rs`
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -51,6 +51,7 @@ pub mod combine;
|
||||||
pub mod glb;
|
pub mod glb;
|
||||||
pub mod lattice;
|
pub mod lattice;
|
||||||
pub mod lub;
|
pub mod lub;
|
||||||
|
#[path = "region_inference/mod.rs"]
|
||||||
pub mod region_inference;
|
pub mod region_inference;
|
||||||
pub mod resolve;
|
pub mod resolve;
|
||||||
pub mod sub;
|
pub mod sub;
|
||||||
|
|
Loading…
Reference in a new issue