Skip to content

Commit 3d97a91

Browse files
committed
Remove extern crate.
1 parent 5b4dad7 commit 3d97a91

File tree

4 files changed

+3
-2
lines changed

4 files changed

+3
-2
lines changed

src/libsyntax/ast.rs

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ use rustc_data_structures::sync::Lrc;
3737
use rustc_data_structures::thin_vec::ThinVec;
3838
use rustc_index::vec::Idx;
3939
use rustc_serialize::{self, Decoder, Encoder};
40+
use rustc_macros::HashStable_Generic;
4041

4142
use std::fmt;
4243

src/libsyntax/attr/builtin.rs

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ use errors::{Applicability, Handler};
99
use std::num::NonZeroU32;
1010
use syntax_pos::hygiene::Transparency;
1111
use syntax_pos::{symbol::Symbol, symbol::sym, Span};
12+
use rustc_macros::HashStable_Generic;
1213

1314
use super::{mark_used, MetaItemKind};
1415

src/libsyntax/lib.rs

-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@
1919

2020
#![recursion_limit="256"]
2121

22-
#[macro_use] extern crate rustc_macros;
23-
2422
pub use errors;
2523
use rustc_data_structures::sync::Lock;
2624
use rustc_index::bit_set::GrowableBitSet;

src/libsyntax/token.rs

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ use syntax_pos::{self, Span, DUMMY_SP};
1515
use std::fmt;
1616
use std::mem;
1717
use rustc_data_structures::sync::Lrc;
18+
use rustc_macros::HashStable_Generic;
1819

1920
#[derive(Clone, PartialEq, RustcEncodable, RustcDecodable, Hash, Debug, Copy)]
2021
pub enum BinOpToken {

0 commit comments

Comments
 (0)