[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:
parent
bbd8b62792
commit
cb11411750
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue