]> git.lizzy.rs Git - rust.git/commit
Print a friendly error for the if-let construct without an else block
authorBarosl Lee <vcs@barosl.com>
Fri, 19 Dec 2014 16:42:21 +0000 (01:42 +0900)
committerBarosl Lee <vcs@barosl.com>
Sat, 20 Dec 2014 00:17:14 +0000 (09:17 +0900)
commit7023bea22c969a324d7d95d8794370410ff7c4c9
tree81cf841e8b8a055ea0517888c1daddadd6469e5f
parentcbe9fb45bc705a89f23b434c686544d490923596
Print a friendly error for the if-let construct without an else block

Fixes #19991.
src/librustc_typeck/check/_match.rs
src/librustc_typeck/check/mod.rs
src/libsyntax/ast.rs
src/libsyntax/ext/expand.rs
src/test/compile-fail/issue-19991.rs [new file with mode: 0644]