fune/third_party/rust/serde_with_macros/tests/compiler-messages.rs
Mike Hommey d0b7892964 Bug 1836229 - Update serde_with to 3.0.0. r=emilio,supply-chain-reviewers
We upgrade enumset alongside so that we keep only one copy of darling.

Differential Revision: https://phabricator.services.mozilla.com/D179651
2023-06-05 20:28:30 +00:00

9 lines
302 B
Rust

#[cfg_attr(tarpaulin, ignore)]
// The error messages are different on beta and nightly, thus breaking the test.
#[rustversion::attr(beta, ignore)]
#[rustversion::attr(nightly, ignore)]
#[test]
fn compile_test() {
let t = trybuild::TestCases::new();
t.compile_fail("tests/compile-fail/*.rs");
}