@@ -44,10 +44,10 @@ impls, and struct definitions. Parsing is often the first "phase" of
4444transformation that a program goes through in order to become a format that
4545chalk can understand.
4646
47- ### Rust Intermediate Representation ([ chalk_rust_ir ] )
47+ ### Rust Intermediate Representation ([ chalk_solve::rust_ir ] )
4848
4949After getting the AST we convert it to a more convenient intermediate
50- representation called [ ` chalk_rust_ir ` ] [ chalk_rust_ir ] . This is sort of
50+ representation called ` chalk_rust_ir ` . This is sort of
5151analogous to the [ HIR] in Rust. The process of converting to IR is called
5252* lowering* .
5353
@@ -133,12 +133,12 @@ queries is called the *solver*.
133133
134134Chalk's functionality is broken up into the following crates:
135135- [ ** chalk_engine** ] [ chalk_engine ] : Defines the core [ SLG solver] [ slg ] .
136- - [ ** chalk_rust_ir** ] [ chalk_rust_ir ] , containing the "HIR-like" form of the AST
137136- [ ** chalk_ir** ] [ chalk_ir ] : Defines chalk's internal representation of
138137 types, lifetimes, and goals.
139138- [ ** chalk_solve** ] [ chalk_solve ] : Combines ` chalk_ir ` and ` chalk_engine ` ,
140139 effectively, which implements logic rules converting ` chalk_rust_ir ` to
141140 ` chalk_ir `
141+ - Contains the ` rust_ir ` module, which defines the "HIR-like" Rust IR
142142 - Defines the ` coherence ` module, which implements coherence rules
143143 - [ ` chalk_engine::context ` ] [ engine-context ] provides the necessary hooks.
144144- [ ** chalk_parse** ] [ chalk_parse ] : Defines the raw AST and a parser.
@@ -197,7 +197,7 @@ Likewise, lowering tests use the [`lowering_success!` and
197197[ chalk_ir ] : https://rust-lang.github.io/chalk/chalk_ir/index.html
198198[ chalk_parse ] : https://rust-lang.github.io/chalk/chalk_parse/index.html
199199[ chalk_solve ] : https://rust-lang.github.io/chalk/chalk_solve/index.html
200- [ chalk_rust_ir ] : https://rust-lang.github.io/chalk/chalk_rust_ir /index.html
200+ [ chalk_solve::rust_ir ] : https://rust-lang.github.io/chalk/chalk_solve/rust_ir /index.html
201201[ doc-chalk ] : https://rust-lang.github.io/chalk/chalk/index.html
202202[ engine-context ] : https://rust-lang.github.io/chalk/chalk_engine/context/index.html
203203[ chalk-program ] : https://rust-lang.github.io/chalk/chalk_integration/program/struct.Program.html
@@ -211,7 +211,7 @@ Likewise, lowering tests use the [`lowering_success!` and
211211[ chalki ] : https://github.com/rust-lang/chalk/blob/master/src/main.rs
212212[ clause ] : https://github.com/rust-lang/chalk/blob/master/GLOSSARY.md#clause
213213[ coherence-src ] : https://rust-lang.github.io/chalk/chalk_solve/coherence/index.html
214- [ ir-code ] : https://rust-lang.github.io/chalk/chalk_rust_ir /
214+ [ ir-code ] : https://rust-lang.github.io/chalk/chalk_solve/rust_ir /
215215[ solve-wf-src ] : https://rust-lang.github.io/chalk/chalk_solve/wf/index.html
216216[ solve_goal ] : https://github.com/rust-lang/chalk/blob/4bce000801de31bf45c02f742a5fce335c9f035f/src/test.rs#L85
217217[ test-lowering-macros ] : https://github.com/rust-lang/chalk/blob/4bce000801de31bf45c02f742a5fce335c9f035f/src/test_util.rs#L21-L54
0 commit comments