]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #51146 - dlrobertson:fix_51102, r=estebank
authorGuillaume Gomez <guillaume1.gomez@gmail.com>
Thu, 31 May 2018 20:17:12 +0000 (22:17 +0200)
committerGitHub <noreply@github.com>
Thu, 31 May 2018 20:17:12 +0000 (22:17 +0200)
typeck: Do not pass the field check on field error

If a struct pattern has a field error return an error.

Fixes: #51102
1  2 
src/librustc_typeck/check/_match.rs

Simple merge