File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,8 @@ essentially one of the following:
68
68
* ` forall<T> { ... } ` is represented in the code using the [ ` Binders<T> `
69
69
struct] [ binders-struct ] .
70
70
71
+ * See also: [ Goals and Clauses] [ goals-and-clauses ] *
72
+
71
73
Lowering is the phase where we encode the rules of the trait system into logic.
72
74
For example, if we have the following Rust:
73
75
@@ -137,6 +139,7 @@ See [The SLG Solver][slg].
137
139
[ lowering-forall ] : https://rust-lang-nursery.github.io/rustc-guide/traits-lowering-to-logic.html#type-checking-generic-functions-beyond-horn-clauses
138
140
[ programclause ] : https://github.com/rust-lang-nursery/chalk/blob/94a1941a021842a5fcb35cd043145c8faae59f08/src/ir.rs#L721
139
141
[ clause ] : https://github.com/rust-lang-nursery/chalk/blob/master/GLOSSARY.md#clause
142
+ [ goals-and-clauses ] : traits-goals-and-clauses.html
140
143
[ well-formedness-checks ] : https://github.com/rust-lang-nursery/chalk/blob/94a1941a021842a5fcb35cd043145c8faae59f08/src/ir/lowering.rs#L230-L232
141
144
[ ir-code ] : https://github.com/rust-lang-nursery/chalk/blob/master/src/ir.rs
142
145
[ HIR ] : hir.html
You can’t perform that action at this time.
0 commit comments