[fixed-hash] Mute unused warning for static_assertions crate import

The compilers falsely warns that #[macro_use(..)] is unused since it does not check all available configurations.
This silences the warning locally.
This commit is contained in:
Herobird 2018-11-12 11:17:40 +01:00
parent bbd8b62792
commit cb11411750
1 changed files with 3 additions and 0 deletions

View File

@ -18,6 +18,9 @@ pub extern crate core as core_;
pub extern crate libc;
#[macro_use(const_assert)]
#[allow(unused)] // This disables a warning for unused #[macro_use(..)]
// which is incorrect since the compiler does not check
// for all available configurations.
#[doc(hidden)]
pub extern crate static_assertions;