]> git.lizzy.rs Git - rust.git/commitdiff
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)
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

1  2 
src/librustc_driver/lib.rs

Simple merge