mirror of
https://github.com/uuid-rs/uuid.git
synced 2025-09-30 14:31:03 +00:00
12 lines
238 B
Rust
12 lines
238 B
Rust
#[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");
|
|
}
|
|
}
|