Skip to content

Commit e313c58

Browse files
committed
docs(test2): Cover ignore macro differences
1 parent e472bcf commit e313c58

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/libtest2/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
//!
3838
//! - `#[test]` does not support all `Termination` types as return values,
3939
//! only what [`IntoRunResult`] supports.
40+
//! - `#[ignore]` must come after the `#[test]` macro
4041
//! - Output capture and `--no-capture`: simply not supported. The official
4142
//! `libtest` uses internal `std` functions to temporarily redirect output.
4243
//! `libtest` cannot use those, see also [libtest2#12](https://github.com/assert-rs/libtest2/issues/12)

0 commit comments

Comments
 (0)