blob: 5c43973ca93e16de339e01db6b56703cc887eb05 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#![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");
}
|