Tests with #[should_panic]
should not be able to return Result
#4376
Labels
#[should_panic]
should not be able to return Result
#4376
To align with
cargo test
, we should not allow returningResult
from a test that is marked with#[should_panic]
.The text was updated successfully, but these errors were encountered: