]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #30080 - durka:patch-10, r=alexcrichton
authorbors <bors@rust-lang.org>
Mon, 30 Nov 2015 21:15:56 +0000 (21:15 +0000)
committerbors <bors@rust-lang.org>
Mon, 30 Nov 2015 21:15:56 +0000 (21:15 +0000)
Fixes #30073. The input to `cfg!` is a meta attribute, but not _any_ meta attribute (e.g. `cfg!(allow(dead_code))` doesn't compile). But the macro_rules syntax can't quite express this, so I added a note to the doc.


Trivial merge