Auto merge of #44248 - oli-obk:spans, r=jseyfried

Produce expansion info for more builtin macros

r? @jseyfried

fixes #43268
This commit is contained in:
bors 2017-09-05 02:21:02 +00:00
commit 2f681bf602
6 changed files with 15 additions and 5 deletions

View file

@ -36,3 +36,8 @@ mod foo {
fn main() {
while true {} //~ ERROR: infinite loops
}
#[deny(while_true)]
fn bar() {
while cfg!(unix) {} // no error
}