Don't run ui tests on rustc < 1.36

trybuild is now +1.36, unfortunately
This commit is contained in:
CreepySkeleton
2019-10-29 08:28:23 +03:00
parent 7262e31e44
commit b438801a04
2 changed files with 2 additions and 1 deletions
@@ -1,3 +1,4 @@
#[rustversion::attr(not(all(stable, since(1.36))), ignore)]
#[test]
fn ui() {
trybuild::TestCases::new().compile_fail("tests/ui/*.rs");
+1 -1
View File
@@ -1,4 +1,4 @@
#[rustversion::attr(not(stable), ignore)]
#[rustversion::attr(not(all(stable, since(1.36))), ignore)]
#[test]
fn ui() {
let t = trybuild::TestCases::new();