// Copyright 2018 Guillaume Pinot (@TeXitoi) // // Licensed under the Apache License, Version 2.0 or the MIT license // , at your // option. This file may not be copied, modified, or distributed #[cfg(feature = "derive")] #[rustversion::attr(any(not(stable), before(1.54), since(1.55)), ignore)] #[test] fn ui() { let t = trybuild::TestCases::new(); t.compile_fail("tests/derive_ui/*.rs"); #[cfg(feature = "unstable-v4")] t.compile_fail("tests/derive_ui/next/*.rs"); #[cfg(not(feature = "unstable-v4"))] t.compile_fail("tests/derive_ui/stable/*.rs"); }