serde/test_suite/tests/test_unstable.rs

10 lines
410 B
Rust
Raw Normal View History

2018-08-22 20:06:23 -05:00
#![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;