You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
396 B

#![cfg(not(miri))]
#![warn(rust_2018_idioms, single_use_lifetimes)]
use std::env;
#[rustversion::attr(before(2021-02-07), ignore)] // Note: This date is commit-date and the day before the toolchain date.
#[test]
fn ui() {
if env::var_os("CI").is_none() {
env::set_var("TRYBUILD", "overwrite");
}
let t = trybuild::TestCases::new();
t.compile_fail("tests/ui/*/*.rs");
}