diff options
| author | Sunjay Varma <varma.sunjay@gmail.com> | 2018-05-14 11:26:15 -0700 |
|---|---|---|
| committer | Sunjay Varma <varma.sunjay@gmail.com> | 2018-05-14 11:26:15 -0700 |
| commit | 131ae09207f37a46d1bb3f1de6565bd773b40e36 (patch) | |
| tree | b1dbcc6e2ed03c744d8dbab13970155d4a259e73 /src/doc/rustc-dev-guide | |
| parent | 7741e2f4caab612a4cb8d49d3d20708719ca4b1d (diff) | |
| download | rust-131ae09207f37a46d1bb3f1de6565bd773b40e36.tar.gz rust-131ae09207f37a46d1bb3f1de6565bd773b40e36.zip | |
Missed a few things because of GitHub's UI
Diffstat (limited to 'src/doc/rustc-dev-guide')
| -rw-r--r-- | src/doc/rustc-dev-guide/src/chalk-overview.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/doc/rustc-dev-guide/src/chalk-overview.md b/src/doc/rustc-dev-guide/src/chalk-overview.md index 02e09429301..76c119a5ed3 100644 --- a/src/doc/rustc-dev-guide/src/chalk-overview.md +++ b/src/doc/rustc-dev-guide/src/chalk-overview.md @@ -68,6 +68,8 @@ essentially one of the following: * `forall<T> { ... }` is represented in the code using the [`Binders<T>` struct][binders-struct]. +*See also: [Goals and Clauses][goals-and-clauses]* + Lowering is the phase where we encode the rules of the trait system into logic. For example, if we have the following Rust: @@ -137,6 +139,7 @@ See [The SLG Solver][slg]. [lowering-forall]: https://rust-lang-nursery.github.io/rustc-guide/traits-lowering-to-logic.html#type-checking-generic-functions-beyond-horn-clauses [programclause]: https://github.com/rust-lang-nursery/chalk/blob/94a1941a021842a5fcb35cd043145c8faae59f08/src/ir.rs#L721 [clause]: https://github.com/rust-lang-nursery/chalk/blob/master/GLOSSARY.md#clause +[goals-and-clauses]: traits-goals-and-clauses.html [well-formedness-checks]: https://github.com/rust-lang-nursery/chalk/blob/94a1941a021842a5fcb35cd043145c8faae59f08/src/ir/lowering.rs#L230-L232 [ir-code]: https://github.com/rust-lang-nursery/chalk/blob/master/src/ir.rs [HIR]: hir.html |
