#![warn(unsafe_code)] #![warn(rust_2018_idioms, single_use_lifetimes)] #[rustversion::attr(not(nightly), ignore)] #[test] fn ui() { let t = trybuild::TestCases::new(); t.compile_fail("tests/ui/*.rs"); }