Commit b1e45d1
committed
Fix should_panic_without_expect pedantic clippy lint
warning: #[should_panic] attribute without a reason
--> tests/test.rs:789:1
|
789 | #[should_panic]
| ^^^^^^^^^^^^^^^ help: consider specifying the expected panic: `#[should_panic(expected = /* panic message */)]`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#should_panic_without_expect
= note: `-W clippy::should-panic-without-expect` implied by `-W clippy::pedantic`
= help: to override `-W clippy::pedantic` add `#[allow(clippy::should_panic_without_expect)]`1 parent 2ce28ad commit b1e45d1
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
786 | 786 | | |
787 | 787 | | |
788 | 788 | | |
789 | | - | |
| 789 | + | |
790 | 790 | | |
791 | 791 | | |
792 | 792 | | |
| |||
0 commit comments