be explicit about what we *can't* debug
This commit is contained in:
parent
fa6f78c95b
commit
96d85a9efb
@ -75,13 +75,13 @@ pub fn label(&self, target: Option<String>) -> String {
|
||||
}
|
||||
|
||||
pub fn can_debug(&self) -> bool {
|
||||
matches!(
|
||||
&self.kind,
|
||||
match self.kind {
|
||||
RunnableKind::DocTest { .. } => false,
|
||||
RunnableKind::TestMod { .. }
|
||||
| RunnableKind::Test { .. }
|
||||
| RunnableKind::Bench { .. }
|
||||
| RunnableKind::Bin
|
||||
)
|
||||
| RunnableKind::Test { .. }
|
||||
| RunnableKind::Bench { .. }
|
||||
| RunnableKind::Bin => true,
|
||||
}
|
||||
}
|
||||
|
||||
pub fn title(&self) -> String {
|
||||
|
Loading…
Reference in New Issue
Block a user