rust/src/librustc/middle
Niko Matsakis a96b0cf86d replace constant regions with a post-inference check
Rather than declaring some region variables to be constant, and
reporting errors when they would have to change, we instead populate
each free region X with a minimal set of points (the CFG plus end(X)),
and then we let inference do its thing. This may add other `end(Y)`
points into X; we can then check after the fact that indeed `X: Y`
holds.

This requires a bit of "blame" detection to find where the bad
constraint came from: we are currently using a pretty dumb
algorithm. Good place for later expansion.
2017-12-04 08:25:21 -05:00
..
allocator.rs rustc: Implement the #[global_allocator] attribute 2017-07-05 14:37:01 -07:00
borrowck.rs incr.comp.: Make a bunch of query results encodable. 2017-11-28 13:03:39 +01:00
const_val.rs Conform names 2017-11-25 23:27:16 +09:00
cstore.rs incr.comp.: Remove on-export crate metadata hashing. 2017-11-29 16:28:25 +01:00
dataflow.rs address more FIXME whose associated issues were marked as closed 2017-10-08 00:27:28 +03:00
dead.rs dead code lint to say "never constructed" for variants 2017-11-19 10:15:36 -08:00
dependency_format.rs Adjust dependency-resolution errors to be more consistent 2017-09-19 21:37:19 -05:00
entry.rs use field init shorthand in src/librustc 2017-07-05 22:37:10 -07:00
exported_symbols.rs incr.comp.: Fix rebase fallout. 2017-09-18 12:14:52 +02:00
expr_use_visitor.rs Introduce LocalDefId which provides a type-level guarantee that the DefId is from the local crate. 2017-11-16 14:04:01 +01:00
free_region.rs replace constant regions with a post-inference check 2017-12-04 08:25:21 -05:00
intrinsicck.rs Use ItemLocalId as key for node_types, node_substs, and adjustments in TypeckTables. 2017-08-11 12:11:38 +02:00
lang_items.rs Rollup merge of #46259 - bjorn3:display_lang_item, r=nagisa 2017-11-26 15:01:38 +08:00
liveness.rs "avoid" is a better word here than "disable" 2017-09-14 17:23:47 +02:00
mem_categorization.rs Auto merge of #45879 - nikomatsakis:nll-kill-cyclic-closures, r=arielb1 2017-11-21 22:52:19 +00:00
privacy.rs Replace FnvHasher use with FxHasher. 2016-11-08 15:14:59 +11:00
reachable.rs [Syntax Breaking] Rename DefaultImpl to AutoImpl 2017-11-03 16:13:20 -02:00
recursion_limit.rs limit the length of types in monomorphization 2016-12-02 00:54:22 +02:00
region.rs rename region_inference module to region_constraints 2017-11-16 05:57:43 -05:00
resolve_lifetime.rs Auto merge of #46191 - eddyb:better-late-than-never, r=nikomatsakis 2017-11-25 14:28:20 +00:00
stability.rs rustc: add item name to deprecated lint warning 2017-11-02 16:10:09 +00:00
trans.rs incr.comp.: Fix rebase fallout. 2017-09-18 12:14:52 +02:00
weak_lang_items.rs rustc: Remove CrateStore::crates as a method 2017-09-07 08:13:41 -07:00