Skip to content

Commit

Permalink
Fill in ignore reasons in all #[ignore] attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Jun 2, 2024
1 parent 5c80163 commit f2824ae
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/compiletest.rs
Original file line number Diff line number Diff line change
@@ -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();
Expand Down
5 changes: 4 additions & 1 deletion tests/test_backtrace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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() {}
5 changes: 4 additions & 1 deletion tests/test_option.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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() {}

0 comments on commit f2824ae

Please sign in to comment.