mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-22 21:48:02 +00:00
29c5a50935
This test has multiple #[ignore] attributes in some configurations.
$ cargo +beta check --test expandtest
warning: unused attribute
--> test_suite/tests/expandtest.rs:2:29
|
2 | #[cfg_attr(not(expandtest), ignore)]
| ^^^^^^
|
= note: `#[warn(unused_attributes)]` on by default
9 lines
226 B
Rust
9 lines
226 B
Rust
#[cfg_attr(target_os = "emscripten", ignore)]
|
|
#[cfg_attr(not(expandtest), ignore)]
|
|
#[rustversion::attr(not(nightly), ignore)]
|
|
#[allow(unused_attributes)]
|
|
#[test]
|
|
fn expandtest() {
|
|
macrotest::expand("tests/expand/*.rs");
|
|
}
|