Fix build warnings from tests

Deriving `Debug` is no longer enough to suppress warnings about unused fields
This commit is contained in:
Graham Esau 2022-05-15 22:55:10 +01:00
parent 29d2455bb3
commit 043d794e39
30 changed files with 188 additions and 136 deletions

View file

@ -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>,