rust/src/librustc/middle
bors dcf3db47c7 Auto merge of #46616 - cramertj:impl-trait-elision, r=nikomatsakis
Implement impl Trait lifetime elision

Fixes #43396.

There's one weird ICE in the interaction with argument-position `impl Trait`. I'm still debugging it-- I've left a test for it commented out with a FIXME.

Also included a FIXME to ensure that `impl Trait` traits are caught under the lint in https://github.com/rust-lang/rust/issues/45992.

r? @nikomatsakis
2017-12-13 04:19:26 +00: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 Resolve absolute paths as extern under a feature flag 2017-12-13 00:02:23 +03: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 move free_regions_map into infer::outlives 2017-12-04 08:51:12 -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 Implement impl Trait lifetime elision 2017-12-12 10:56:09 -08: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