diff options
| author | Tyler Mandry <tmandry@gmail.com> | 2018-10-24 21:22:32 -0500 |
|---|---|---|
| committer | Tyler Mandry <tmandry@gmail.com> | 2018-10-26 11:09:46 -0500 |
| commit | ebb6aff2f6890d9a80257d9233acf726f9b26f22 (patch) | |
| tree | cf2170701c23567a82697d42f3b918f8cc169a2b /src/doc/rustc-dev-guide | |
| parent | 283b8a5da8c0b929d33ecc5487d037d8787533e3 (diff) | |
| download | rust-ebb6aff2f6890d9a80257d9233acf726f9b26f22.tar.gz rust-ebb6aff2f6890d9a80257d9233acf726f9b26f22.zip | |
Reflect traits chapter structure in index key ideas
Diffstat (limited to 'src/doc/rustc-dev-guide')
| -rw-r--r-- | src/doc/rustc-dev-guide/src/traits/index.md | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/doc/rustc-dev-guide/src/traits/index.md b/src/doc/rustc-dev-guide/src/traits/index.md index 053a26babb2..6a0e560a23f 100644 --- a/src/doc/rustc-dev-guide/src/traits/index.md +++ b/src/doc/rustc-dev-guide/src/traits/index.md @@ -19,18 +19,18 @@ Trait solving is based around a few key ideas: describes the precise form of rules we use, and [lowering rules](./lowering-rules.html) gives the complete set of lowering rules in a more reference-like form. + - [Lazy normalization](./associated-types.html), which is the + technique we use to accommodate associated types when figuring out + whether types are equal. + - [Region constraints](./regions.html), which are accumulated + during trait solving but mostly ignored. This means that trait + solving effectively ignores the precise regions involved, always – + but we still remember the constraints on them so that those + constraints can be checked by the type checker. - [Canonical queries](./canonical-queries.html), which allow us to solve trait problems (like "is `Foo` implemented for the type `Bar`?") once, and then apply that same result independently in many different inference contexts. -- [Lazy normalization](./associated-types.html), which is the - technique we use to accommodate associated types when figuring out - whether types are equal. -- [Region constraints](./regions.html), which are accumulated - during trait solving but mostly ignored. This means that trait - solving effectively ignores the precise regions involved, always – - but we still remember the constraints on them so that those - constraints can be checked by thet type checker. Note: this is not a complete list of topics. See the sidebar for more. |
