Rustc doesn't generate expansion info for `cfg!`

This commit is contained in:
Oliver Schneider 2017-07-27 13:04:27 +02:00
parent 38680e8411
commit b4115fc245
1 changed files with 3 additions and 0 deletions

View File

@ -4,6 +4,9 @@ extern crate duct;
use std::io::{BufRead, BufReader};
use std::fs::File;
// FIXME: rustc doesn't generate expansion info for `cfg!` anymore
#![allow(logic-bug)]
#[test]
fn examples() {
let mut error = false;