blob: 14ae02caaeb08b1f8a4346ea7adf11292a55ccf8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// Only test on stable, since UI tests are bound to change over time
#[rustversion::stable]
#[test]
fn pass() {
let t = trybuild::TestCases::new();
t.pass("tests/ui/pass/*.rs");
}
#[rustversion::stable]
#[test]
fn compile_fail() {
let t = trybuild::TestCases::new();
t.compile_fail("tests/ui/fail/*.rs");
}
|