serde/test_suite/tests/test_unstable.rs
2018-12-31 21:53:37 -05:00

10 lines
410 B
Rust

#![deny(warnings)]
// This test target is convoluted with the actual #[test] in a separate file to
// get it so that the stable compiler does not need to parse the code of the
// test. If the test were written with #[cfg(feature = "unstable")] #[test]
// right here, the stable compiler would fail to parse those raw identifiers
// even if the cfg were not enabled.
#[cfg(feature = "unstable")]
mod unstable;