Skip to content

Commit be587f5

Browse files
committed
compile with rust nightly
rust nightly errors out that the lint is already part of the rust_2018_idioms: ``` error[E0453]: warn(unused_extern_crates) incompatible with previous forbid in same scope --> /Users/ember/.cargo/registry/src/github.com-1ecc6299db9ec823/atomic_enum-0.1.1/src/lib.rs:13:5 | 2 | rust_2018_idioms, | ---------------- `forbid` level set here ... 13 | unused_extern_crates, | ^^^^^^^^^^^^^^^^^^^^ error: aborting due to previous error ```
1 parent 79ab549 commit be587f5

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/lib.rs

-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
trivial_casts,
1111
trivial_numeric_casts,
1212
unreachable_pub,
13-
unused_extern_crates,
1413
unused_import_braces,
1514
unused_qualifications
1615
)]
@@ -42,8 +41,6 @@
4241
//!
4342
//! This attribute does not use or generate any unsafe code.
4443
45-
extern crate proc_macro;
46-
4744
use proc_macro::TokenStream;
4845
use proc_macro2::TokenStream as TokenStream2;
4946
use quote::{quote, quote_spanned};

0 commit comments

Comments
 (0)