diff --git a/tests/compiletest.rs b/tests/compiletest.rs index 7974a62..23a6a06 100644 --- a/tests/compiletest.rs +++ b/tests/compiletest.rs @@ -1,5 +1,5 @@ -#[rustversion::attr(not(nightly), ignore)] -#[cfg_attr(miri, ignore)] +#[rustversion::attr(not(nightly), ignore = "requires nightly")] +#[cfg_attr(miri, ignore = "incompatible with miri")] #[test] fn ui() { let t = trybuild::TestCases::new(); diff --git a/tests/test_backtrace.rs b/tests/test_backtrace.rs index 4710d45..8f11da3 100644 --- a/tests/test_backtrace.rs +++ b/tests/test_backtrace.rs @@ -270,5 +270,8 @@ pub mod enums { } #[test] -#[cfg_attr(not(thiserror_nightly_testing), ignore)] +#[cfg_attr( + not(thiserror_nightly_testing), + ignore = "requires `--cfg=thiserror_nightly_testing`" +)] fn test_backtrace() {} diff --git a/tests/test_option.rs b/tests/test_option.rs index 232e5a3..5464b08 100644 --- a/tests/test_option.rs +++ b/tests/test_option.rs @@ -101,5 +101,8 @@ pub mod enums { } #[test] -#[cfg_attr(not(thiserror_nightly_testing), ignore)] +#[cfg_attr( + not(thiserror_nightly_testing), + ignore = "requires `--cfg=thiserror_nightly_testing`" +)] fn test_option() {}