]> git.proxmox.com Git - proxmox.git/commitdiff
macro: silence some warnings in tests
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 15 Jan 2020 13:10:36 +0000 (14:10 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 15 Jan 2020 13:10:58 +0000 (14:10 +0100)
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
proxmox-api-macro/tests/types.rs

index 6d452d445688425fb9651a5ecc292e25b75ab896..efa7a81486b4196bfd1730f606188dd64038d2be 100644 (file)
@@ -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;