]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #46973 - arielb1:tuple-casting, r=estebank
authorbors <bors@rust-lang.org>
Mon, 25 Dec 2017 23:00:39 +0000 (23:00 +0000)
committerbors <bors@rust-lang.org>
Mon, 25 Dec 2017 23:00:39 +0000 (23:00 +0000)
Update check::cast::pointer_kind logic to new rustc

Make the match exhaustive, adding handling for anonymous types and
tuple coercions on the way.

Also, exit early when type errors are detected, to avoid error cascades
and the like.

Fixes #33690.
Fixes #46365.
Fixes #46880.


Trivial merge