We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents efcda24 + 1adee63 commit f9a851aCopy full SHA for f9a851a
1 file changed
crates/libtest2-harness/src/case.rs
@@ -69,14 +69,16 @@ impl RunError {
69
Self::with_cause(Message(cause.to_string()))
70
}
71
72
- pub(crate) fn ignore() -> Self {
+ /// Should not be called with `libtest_lexarg::RunIgnored::Yes`
73
+ pub fn ignore() -> Self {
74
Self {
75
status: notify::MessageKind::Ignored,
76
cause: None,
77
78
79
- pub(crate) fn ignore_for(reason: String) -> Self {
80
81
+ pub fn ignore_for(reason: String) -> Self {
82
83
84
cause: Some(Box::new(Message(reason))),
0 commit comments