Remove extern crate rustc_macros
from numerous crates.
This commit is contained in:
parent
10505a1cc9
commit
4814fd0a4b
110 changed files with 99 additions and 94 deletions
|
@ -41,8 +41,6 @@
|
|||
|
||||
#[macro_use]
|
||||
extern crate tracing;
|
||||
#[macro_use]
|
||||
extern crate rustc_macros;
|
||||
|
||||
use std::fmt;
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
use crate::stable_hasher::{HashStable, StableHasher, StableOrd};
|
||||
use rustc_macros::{Decodable_Generic, Encodable_Generic};
|
||||
use std::borrow::Borrow;
|
||||
use std::fmt::Debug;
|
||||
use std::mem;
|
||||
|
|
|
@ -6,9 +6,9 @@
|
|||
//! compiled from distinct sources.
|
||||
|
||||
use crate::fingerprint::Fingerprint;
|
||||
use std::fmt;
|
||||
|
||||
use crate::stable_hasher;
|
||||
use rustc_macros::{Decodable_Generic, Encodable_Generic};
|
||||
use std::fmt;
|
||||
|
||||
#[derive(Copy, Clone, PartialEq, Eq, Debug, Encodable_Generic, Decodable_Generic, Hash)]
|
||||
pub struct Svh {
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
//! as required by the query system.
|
||||
|
||||
use rustc_hash::{FxHashMap, FxHashSet};
|
||||
use rustc_macros::{Decodable_Generic, Encodable_Generic};
|
||||
use std::{
|
||||
borrow::{Borrow, BorrowMut},
|
||||
collections::hash_map::Entry,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue