Debian Codegraph @

third_party/rust/pin-project-lite/tests/compiletest.rs

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