Commit 45e5a58
committed
Ignore dead code lint in test
warning: fields `x` and `y` are never read
--> tests/test_ensure.rs:467:13
|
466 | pub struct Point {
| ----- fields in this struct
467 | pub x: i32,
| ^
468 | pub y: i32,
| ^
|
= note: `Point` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
= note: `#[warn(dead_code)]` on by default1 parent b3ceb70 commit 45e5a58
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
464 | 464 | | |
465 | 465 | | |
466 | 466 | | |
| 467 | + | |
467 | 468 | | |
| 469 | + | |
468 | 470 | | |
469 | 471 | | |
470 | 472 | | |
| |||
0 commit comments