trisquel-icecat/icecat/third_party/rust/pin-project-lite/tests/compiletest.rs
2025-10-06 02:35:48 -06:00

12 lines
270 B
Rust

// SPDX-License-Identifier: Apache-2.0 OR MIT
#![cfg(not(miri))]
#![cfg(not(careful))]
#[rustversion::attr(not(nightly), ignore)]
#[test]
fn ui() {
let t = trybuild::TestCases::new();
t.compile_fail("tests/ui/**/*.rs");
t.pass("tests/run-pass/**/*.rs");
}