`extern crate` dance appears to not be required any more?
vext01 opened this issue · 0 comments
vext01 commented
The docs ask you to add this:
#[macro_use]
extern crate static_assertions;
However, when I did this, the compiler gave:
warning: unused `#[macro_use]` import
--> ykrt/src/lib.rs:11:1
|
11 | #[macro_use]
| ^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
It seems to work just fine without.
I'm using:
rustc 1.75.0-nightly (1c05d50c8 2023-10-21)