run compile_fail test only on stable

This commit is contained in:
XFFXFF 2022-08-27 09:05:51 +08:00
parent f46f2ac202
commit cece3d840a
2 changed files with 2 additions and 0 deletions

View file

@ -12,3 +12,4 @@ parking_lot = "0.12.1"
test-log = "0.2.11"
env_logger = "*"
trybuild = "1.0"
rustversion = "1.0"

View file

@ -1,3 +1,4 @@
#[rustversion::stable]
#[test]
fn compile_fail() {
let t = trybuild::TestCases::new();