Closed
Description
The following suggests removing the extern crate
which results in broken code.
#![warn(unused_extern_crates)]
extern crate time as time_crate;
pub mod m {
pub use time_crate::Duration;
}
The following is also very similar:
#![warn(unused_extern_crates)]
extern crate time as time_crate;
pub mod m {
use time_crate::Duration;
pub fn f() {
Duration::days(1);
}
}