Directly use the instrument
macro instead of its full path
This commit is contained in:
parent
4f9898a794
commit
d3b22c7267
25 changed files with 86 additions and 89 deletions
|
@ -42,7 +42,6 @@ use rustc_span::{self, FileNameDisplayPreference, SourceFile};
|
|||
use rustc_symbol_mangling::typeid_for_trait_ref;
|
||||
use rustc_target::abi::{Align, Size};
|
||||
use smallvec::smallvec;
|
||||
use tracing::debug;
|
||||
|
||||
use libc::{c_char, c_longlong, c_uint};
|
||||
use std::borrow::Cow;
|
||||
|
@ -51,7 +50,6 @@ use std::hash::{Hash, Hasher};
|
|||
use std::iter;
|
||||
use std::path::{Path, PathBuf};
|
||||
use std::ptr;
|
||||
use tracing::instrument;
|
||||
|
||||
impl PartialEq for llvm::Metadata {
|
||||
fn eq(&self, other: &Self) -> bool {
|
||||
|
|
|
@ -16,6 +16,8 @@
|
|||
|
||||
#[macro_use]
|
||||
extern crate rustc_macros;
|
||||
#[macro_use]
|
||||
extern crate tracing;
|
||||
|
||||
use back::write::{create_informational_target_machine, create_target_machine};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue