rust/src/librustc_typeck
Corey Farwell ba39e5d905 Rollup merge of #40166 - aidanhs:aphs-index-coerce, r=nikomatsakis
Allow types passed to [] to coerce, like .index()

Fixes #40085

Basically steals the relevant part of [check_argument_types](https://github.com/rust-lang/rust/blob/1.15.1/src/librustc_typeck/check/mod.rs#L2653-L2672).
2017-03-02 14:53:51 -05:00
..
check Rollup merge of #40166 - aidanhs:aphs-index-coerce, r=nikomatsakis 2017-03-02 14:53:51 -05:00
coherence rustc_typeck: rework coherence to be almost completely on-demand. 2017-02-25 18:35:26 +02:00
variance rustc: combine BareFnTy and ClosureTy into FnSig. 2017-02-25 17:47:15 +02:00
astconv.rs rustc_const_eval: always demand typeck_tables for evaluating constants. 2017-02-25 18:35:26 +02:00
Cargo.toml Rebase fixups 2017-02-10 19:47:09 +02:00
check_unused.rs rustc_typeck: hook up collect and item/body check to on-demand. 2017-02-25 18:35:25 +02:00
collect.rs rustc_const_eval: always demand typeck_tables for evaluating constants. 2017-02-25 18:35:26 +02:00
constrained_type_params.rs move the impl-params-constrained check out of collect 2016-11-16 13:57:46 -05:00
diagnostics.rs rustc_const_eval: always demand typeck_tables for evaluating constants. 2017-02-25 18:35:26 +02:00
impl_wf_check.rs rustc_typeck: lift CrateCtxt to TyCtxt. 2017-02-25 17:07:59 +02:00
lib.rs rustc_typeck: rework coherence to be almost completely on-demand. 2017-02-25 18:35:26 +02:00