rust/src/librustc/ich
Christopher Vittal 8fd48e7d59 Split hir::TyImplTrait, move checks to HIR lowering
Replace hir::TyImplTrait with TyImplTraitUniversal and
TyImplTraitExistential.

Add an ImplTraitContext enum to rustc::hir::lowering to track the kind
and allowedness of an impl Trait.

Significantly alter lowering to thread ImplTraitContext and one other
boolean parameter described below throughought much of lowering.

The other parameter is for tracking if lowering a function is in a trait
impl, as there is not enough information to otherwise know this
information during lowering otherwise.

This change also removes the checks from ast_ty_to_ty for impl trait
allowedness as they are now all taking place in HIR lowering.
2017-11-15 15:46:01 -05:00
..
caching_codemap_view.rs incr.comp.: Store result fingerprints in DepGraph. 2017-09-20 11:21:25 +02:00
fingerprint.rs Use rls-data 0.12 2017-10-27 23:53:57 +02:00
hcx.rs incr.comp.: Acknowledge the fact that shift operations can panic at runtime. 2017-11-07 15:49:51 +01:00
impls_const_math.rs rustc_const_math: use apfloat::ieee::{Single,Double} in ConstFloat. 2017-08-02 17:28:11 +03:00
impls_cstore.rs incr.comp.: Already hash HIR bodies during metadata export so they don't have to be hashed in downstream crates. 2017-09-18 11:26:11 +02:00
impls_hir.rs Split hir::TyImplTrait, move checks to HIR lowering 2017-11-15 15:46:01 -05:00
impls_mir.rs collect unused unsafe code 2017-11-06 23:41:18 +02:00
impls_misc.rs Fix issues uncovered by rebasing: 2017-09-18 11:25:34 +02:00
impls_syntax.rs Display spans correctly when there are non-half-width characters 2017-11-03 03:15:39 +09:00
impls_ty.rs Finish DefaultImpl -> AutoImpl rename. 2017-11-03 16:13:21 -02:00
mod.rs incr.comp.: Use StableHash impls instead of functions for hashing most maps. 2017-09-18 11:27:10 +02:00