Debian Codegraph @

third_party/rust/serde_with_macros/tests/compiler-messages.rs

raw
1 //! Test Cases
2
3 #[cfg_attr(tarpaulin, ignore)]
4 // The error messages are different on beta and nightly, thus breaking the test.
5 #[rustversion::attr(beta, ignore)]
6 #[rustversion::attr(nightly, ignore)]
7 #[test]
8 fn compile_test() {
9 let t = trybuild::TestCases::new();
10 t.compile_fail("tests/compile-fail/*.rs");
11 }