Vendor things
This commit is contained in:
parent
5deceec006
commit
977e3c17e5
19434 changed files with 10682014 additions and 0 deletions
16
third-party/vendor/pin-project-lite/tests/compiletest.rs
vendored
Normal file
16
third-party/vendor/pin-project-lite/tests/compiletest.rs
vendored
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#![cfg(not(miri))]
|
||||
#![cfg(not(careful))]
|
||||
#![warn(rust_2018_idioms, single_use_lifetimes)]
|
||||
|
||||
use std::env;
|
||||
|
||||
#[rustversion::attr(not(nightly), ignore)]
|
||||
#[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");
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue