about summary refs log tree commit diff
path: root/src/test/run-pass/thinlto
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2017-03-02 14:53:51 -0500
committerGitHub <noreply@github.com>2017-03-02 14:53:51 -0500
commitba39e5d905dc5a32c1156db780635612deeb2bd0 (patch)
treebdaa88e5cf3168fc14db53d0171f74d54094110d /src/test/run-pass/thinlto
parent05e0d740a22b327f607dd695b43f7547e0d14864 (diff)
parentc58fff2bb76b055c8276551d54a99aea997c34ed (diff)
downloadrust-ba39e5d905dc5a32c1156db780635612deeb2bd0.tar.gz
rust-ba39e5d905dc5a32c1156db780635612deeb2bd0.zip
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).
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions