mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 05:33:27 +00:00
Rustc doesn't generate expansion info for cfg!
This commit is contained in:
parent
38680e8411
commit
b4115fc245
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue