]> git.lizzy.rs Git - rust.git/commit
typeck: Do not pass the field check on field error
authorDan Robertson <danlrobertson89@gmail.com>
Tue, 29 May 2018 01:51:36 +0000 (01:51 +0000)
committerDan Robertson <danlrobertson89@gmail.com>
Thu, 31 May 2018 14:45:49 +0000 (14:45 +0000)
commit8f6441513e8ada486f6301d436a82a539baf34f7
tree558d75f75c66c2ccee6379b16077c81d6a29bf03
parent30cae5870907e7ae9e74a39eee5bcf55ee5d2809
typeck: Do not pass the field check on field error

If a struct pattern has a field error return an error.
src/librustc_typeck/check/_match.rs
src/test/ui/issue-51102.rs [new file with mode: 0644]
src/test/ui/issue-51102.stderr [new file with mode: 0644]