| Age | Commit message (Collapse) | Author | Lines |
|
|
|
|
|
|
|
the old code was *so terrible*.
|
|
Should make it possible to add JSON or HTML errors. Also tidies up a lot.
|
|
Also split out emitters into their own module.
|
|
resolve_lifetime.rs: Switch from BlockScope to FnScope in ScopeChain
construction. Lifetimes introduced by a fn signature are scoped to the
call-site for that fn. (Note `add_scope_and_walk_fn` must only add
FnScope for the walk of body, *not* of the fn signature.)
region.rs: Introduce new CodeExtentData::CallSiteScope variant. Use
CodeExtentData as the cx.parent, rather than just a NodeId. Change
DestructionScopeData to CallSiteScopeData.
regionck.rs: Thread call_site_scope via Rcx; constrain fn return
values.
(update; incorporated review feedback from niko.)
|
|
tests & rustdoc still broken
|