From f22b69380035677269c4480e586335e1ad8df20d Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Wed, 15 Jan 2020 14:10:36 +0100 Subject: [PATCH] macro: silence some warnings in tests Signed-off-by: Wolfgang Bumiller --- proxmox-api-macro/tests/types.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/proxmox-api-macro/tests/types.rs b/proxmox-api-macro/tests/types.rs index 6d452d44..efa7a814 100644 --- a/proxmox-api-macro/tests/types.rs +++ b/proxmox-api-macro/tests/types.rs @@ -1,6 +1,8 @@ //! This should test the usage of "external" types. For any unrecognized schema type we expect the //! type's impl to provide an `pub const API_SCHEMA: &Schema`. +#![allow(dead_code)] + use proxmox::api::schema; use proxmox_api_macro::api;