Skip to content

Region inference member constraints #344

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
20347ca
fix typo
nikomatsakis Jun 18, 2019
f2c8574
break out parts of the region inference chapter into sub-chapters
nikomatsakis Jun 18, 2019
7ec2b86
start filling out the constraint propagation chapter in more detail
nikomatsakis Jun 18, 2019
9e62f21
describe region inference and member constraints in some detail
nikomatsakis Jun 20, 2019
b8ff361
adjust overview slightly
nikomatsakis Jun 20, 2019
8f2f27f
Update src/borrow_check/region_inference/constraint_propagation.md
nikomatsakis Jun 24, 2019
1f8181c
Update src/borrow_check/region_inference/lifetime_parameters.md
nikomatsakis Jun 24, 2019
addc52b
Update src/borrow_check/region_inference/lifetime_parameters.md
nikomatsakis Jun 24, 2019
bfd8e66
Update src/borrow_check/region_inference/lifetime_parameters.md
nikomatsakis Jun 24, 2019
78834e5
Update src/borrow_check/region_inference/constraint_propagation.md
nikomatsakis Jun 24, 2019
8c6e8ae
Update src/borrow_check/region_inference/constraint_propagation.md
nikomatsakis Jun 24, 2019
0863713
Update src/borrow_check/region_inference/constraint_propagation.md
nikomatsakis Jun 24, 2019
c6b4f83
Update src/borrow_check/region_inference/constraint_propagation.md
nikomatsakis Jun 24, 2019
3ea4723
Update src/borrow_check/region_inference/constraint_propagation.md
nikomatsakis Jun 24, 2019
2563350
Update src/borrow_check/region_inference/constraint_propagation.md
nikomatsakis Jun 24, 2019
5f2af11
Update src/borrow_check/region_inference/constraint_propagation.md
nikomatsakis Jun 24, 2019
3273d19
Update src/borrow_check/region_inference/member_constraints.md
nikomatsakis Jun 24, 2019
7e51cd3
Update src/borrow_check/region_inference/lifetime_parameters.md
nikomatsakis Jun 24, 2019
d7e2823
Update src/borrow_check/region_inference/member_constraints.md
nikomatsakis Jun 24, 2019
35ff1f5
Update src/borrow_check/region_inference/member_constraints.md
nikomatsakis Jun 24, 2019
7d54887
Update src/borrow_check/region_inference/constraint_propagation.md
nikomatsakis Jun 24, 2019
88f13cb
Update src/borrow_check/region_inference/member_constraints.md
nikomatsakis Jun 24, 2019
c12a025
Update src/borrow_check/region_inference/constraint_propagation.md
nikomatsakis Jun 24, 2019
06548ae
Update src/borrow_check/region_inference/member_constraints.md
nikomatsakis Jun 24, 2019
c44f66f
Update src/borrow_check/region_inference/placeholders_and_universes.md
nikomatsakis Jun 24, 2019
1cd4efb
Update src/borrow_check/region_inference/placeholders_and_universes.md
nikomatsakis Jun 24, 2019
348e2be
Update src/borrow_check/region_inference/placeholders_and_universes.md
nikomatsakis Jun 24, 2019
3ecff8c
fix indentation
nikomatsakis Jun 24, 2019
564b1b3
add `point` to the glossary and link a use of it
nikomatsakis Jun 24, 2019
425c1cb
fix long line
mark-i-m Jun 26, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,12 @@
- [Move paths](./borrow_check/moves_and_initialization/move_paths.md)
- [MIR type checker](./borrow_check/type_check.md)
- [Region inference](./borrow_check/region_inference.md)
- [Constraint propagation](./borrow_check/region_inference/constraint_propagation.md)
- [Lifetime parameters](./borrow_check/region_inference/lifetime_parameters.md)
- [Member constraints](./borrow_check/region_inference/member_constraints.md)
- [Placeholders and universes][pau]
- [Closure constraints](./borrow_check/region_inference/closure_constraints.md)
- [Errror reporting](./borrow_check/region_inference/error_reporting.md)
- [Two-phase-borrows](./borrow_check/two_phase_borrows.md)
- [Constant evaluation](./const-eval.md)
- [miri const evaluator](./miri.md)
Expand All @@ -92,3 +98,5 @@
[Appendix C: Glossary](./appendix/glossary.md)
[Appendix D: Code Index](./appendix/code-index.md)
[](./important-links.md)

[pau]: ./borrow_check/region_inference/placeholders_and_universes.md
1 change: 1 addition & 0 deletions src/appendix/glossary.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ newtype | a "newtype" is a wrapper around some other type (e.g.
NLL | [non-lexical lifetimes](../borrow_check/region_inference.html), an extension to Rust's borrowing system to make it be based on the control-flow graph.
node-id or NodeId | an index identifying a particular node in the AST or HIR; gradually being phased out and replaced with `HirId`.
obligation | something that must be proven by the trait system ([see more](../traits/resolution.html))
point | used in the NLL analysis to refer to some particular location in the MIR; typically used to refer to a node in the control-flow graph.
projection | a general term for a "relative path", e.g. `x.f` is a "field projection", and `T::Item` is an ["associated type projection"](../traits/goals-and-clauses.html#trait-ref)
promoted constants | constants extracted from a function and lifted to static scope; see [this section](../mir/index.html#promoted) for more details.
provider | the function that executes a query ([see more](../query.html))
Expand Down
Loading