Auto merge of #5204 - lukaslueg:issue5199, r=alexcrichton
authorbors <bors@rust-lang.org>
Wed, 21 Mar 2018 13:56:00 +0000 (13:56 +0000)
committerbors <bors@rust-lang.org>
Wed, 21 Mar 2018 13:56:00 +0000 (13:56 +0000)
commit4dde7264b5c7308114499b2f166bcef6a33a9d97
tree78f37f4dbd93f85885bd8e738b93a7da5042f69a
parent0a30bf0d79b39d15c42c4e7b3312ca5a944d110b
parent257c23323d8b96142ddfdec61bab456fceb4f478
Auto merge of #5204 - lukaslueg:issue5199, r=alexcrichton

Do not allow crate-type or proc-macro for [[bin]]-targets

Fixes #5199

This simply disallows `proc-macro` and `crate-type` to be set to anything for binary targets. Is this the best way to go or does a warning about the unused setting suffice?
tests/testsuite/build.rs