Vendor dependencies

This commit is contained in:
2026-08-01 16:11:49 +03:00
parent 7f139a0241
commit 6b5e7f0f8b
29706 changed files with 9575646 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
#![cfg(compiletests)]
#[rustversion::stable(1.88)]
#[test]
fn compile_test() {
let t = trybuild::TestCases::new();
t.compile_fail("tests/compile-fail/*.rs");
}
#[rustversion::not(stable(1.88))]
#[test]
fn wrong_rustc_version() {
panic!(
"This is not the expected version of rustc. Error messages vary across compiler versions so tests may produce spurious errors"
);
}