Silence unused import warnings for cargo test

This commit is contained in:
Philipp Oppermann
2019-01-25 13:25:24 +01:00
parent 5366fe2ff8
commit 8e74084d52

View File

@@ -1,5 +1,6 @@
#![no_std] #![no_std]
#![cfg_attr(not(test), no_main)] #![cfg_attr(not(test), no_main)]
#![cfg_attr(test, allow(unused_imports))]
use core::panic::PanicInfo; use core::panic::PanicInfo;