forked from mirrors/gecko-dev
Document qlog uses 2 clause bsd license. Adapt to API changes in glue and http3server Differential Revision: https://phabricator.services.mozilla.com/D77903
15 lines
450 B
Rust
15 lines
450 B
Rust
extern crate rustversion;
|
|
extern crate trybuild;
|
|
|
|
// This test fails for older compiler versions since the error messages are different.
|
|
#[rustversion::attr(before(1.35), ignore)]
|
|
#[test]
|
|
fn compile_test() {
|
|
// This test does not work under tarpaulin, so skip it if detected
|
|
if std::env::var("TARPAULIN") == Ok("1".to_string()) {
|
|
return;
|
|
}
|
|
|
|
let t = trybuild::TestCases::new();
|
|
t.compile_fail("tests/compile-fail/*.rs");
|
|
}
|