]> git.lizzy.rs Git - rust.git/commit
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)
commitebddfcb0b19471d2277e05cfbc2ad8caa81637b7
treebc185614ad147bb147c3c8cec167850384d1d7d2
parent4a7c072fa61b42f96d8b75c37fc1edfd71172695
parent6aca3301491bc11bf403b9abeedcfbd63c2a43fd
Auto merge of #46973 - arielb1:tuple-casting, r=estebank

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.