blob: c7cf2a42985036cd2043e78d9e271747c8307949 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#[cfg(feature = "macro-diagnostics")]
#[test]
fn ui() {
let t = trybuild::TestCases::new();
t.pass("tests/ui/compile_pass/*.rs");
if rustversion::cfg!(nightly) {
t.compile_fail("tests/ui/compile_fail/*.rs");
}
}
|