diff --git a/tests/examples.rs b/tests/examples.rs index 906666a9dff..d85da438d17 100644 --- a/tests/examples.rs +++ b/tests/examples.rs @@ -1,12 +1,12 @@ +// FIXME: rustc doesn't generate expansion info for `cfg!` anymore +#![allow(logic-bug)] + #[macro_use] 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;