Open
Description
See rust-lang/rust#44928. The reference currently has almost no documentation of borrowck
- Document lifetimes (I'll try to get to this
sooneventually) - Document borrowck in enough detail for the NLL changes to matter. The main changes are that lifetimes don't have to correspond to lexical scopes, and that 'outlives'
is nowwill eventually be defined as happening at a point in the control flow graph, rather than globally. - Use in examples if there are any.
- Move ad hoc documentation of borrowck requirements out of the expressions chapter.