]> git.lizzy.rs Git - rust.git/commit
Auto merge of #31499 - kamalmarhubi:cfg-flag-invalid-cfgs, r=brson
authorbors <bors@rust-lang.org>
Wed, 10 Feb 2016 14:24:41 +0000 (14:24 +0000)
committerbors <bors@rust-lang.org>
Wed, 10 Feb 2016 14:24:41 +0000 (14:24 +0000)
commit052b3fd4a0c484638a8e8b30f9b628abfaeffde4
treee5a0a76a85a29cf3d4c360b6a33bb3451ce85ba6
parent32d962d16fc0abcb63fd705b3cde35025da77a13
parentc32c7c24860eb6ed65bdec2491ba99b6eb5550b8
Auto merge of #31499 - kamalmarhubi:cfg-flag-invalid-cfgs, r=brson

A spec like `#[cfg(foo(bar))]` is not allowed as an attribute. This
makes the same spec be rejected by the compiler if passed in as a
`--cfg` argument.

Fixes #31495
src/librustc_driver/lib.rs