mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-12-30 13:59:33 +01:00
31b392fe3a
We use compiletest to run compile-fail tests but compiletest depends on compiler internals so it breaks every now and then and requires nightly. With trybuild we can also run compile-fail tests but it works on stable and it already has reached version 1.0
7 lines
114 B
Rust
7 lines
114 B
Rust
use trybuild::TestCases;
|
|
|
|
#[test]
|
|
fn ui() {
|
|
let t = TestCases::new();
|
|
t.compile_fail("ui/single/*.rs");
|
|
}
|