12 lines
270 B
Rust
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");
|
|
}
|