Fix build warnings from tests
Deriving `Debug` is no longer enough to suppress warnings about unused fields
This commit is contained in:
parent
29d2455bb3
commit
043d794e39
30 changed files with 188 additions and 136 deletions
|
@ -3,7 +3,8 @@ use indexmap::{IndexMap, IndexSet};
|
|||
use schemars::JsonSchema;
|
||||
use util::*;
|
||||
|
||||
#[derive(Debug, JsonSchema)]
|
||||
#[allow(dead_code)]
|
||||
#[derive(JsonSchema)]
|
||||
struct IndexMapTypes {
|
||||
map: IndexMap<i32, bool>,
|
||||
set: IndexSet<isize>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue