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

View File

@ -4,6 +4,9 @@
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;