1 // SPDX-License-Identifier: Apache-2.0 OR MIT 2 3 #![cfg(not(miri))] 4 5 #[rustversion::attr(not(nightly), ignore)] 6 #[test] ui()7 fn ui() { 8 let t = trybuild::TestCases::new(); 9 t.compile_fail("tests/ui/**/*.rs"); 10 t.pass("tests/run-pass/**/*.rs"); 11 } 12