mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-16 17:55:20 +00:00
13 lines
254 B
Rust
13 lines
254 B
Rust
#![cfg(compiletests)]
|
|
|
|
extern crate rustversion;
|
|
extern crate trybuild;
|
|
|
|
#[rustversion::stable(1.59)]
|
|
#[test]
|
|
fn compile_test() {
|
|
let t = trybuild::TestCases::new();
|
|
t.pass("tests/run-pass/*.rs");
|
|
t.compile_fail("tests/compile-fail/*.rs");
|
|
}
|