1
0
Fork 0
mirror of https://github.com/rtic-rs/rtic.git synced 2025-02-15 12:58:38 +01:00
rtic/tests/single.rs
Jorge Aparicio 31b392fe3a CI: replace compiletest-rs with trybuild
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
2019-11-06 19:05:37 -05:00

7 lines
114 B
Rust

use trybuild::TestCases;
#[test]
fn ui() {
let t = TestCases::new();
t.compile_fail("ui/single/*.rs");
}