mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
Remove #[macro_use] extern crate tracing
from rustfmt helpers.
This commit is contained in:
parent
37d1ce91b5
commit
de02c4af61
@ -4,12 +4,10 @@
|
||||
|
||||
#![deny(warnings)]
|
||||
|
||||
#[macro_use]
|
||||
extern crate tracing;
|
||||
|
||||
use serde::{Deserialize, Serialize};
|
||||
use serde_json as json;
|
||||
use thiserror::Error;
|
||||
use tracing::debug;
|
||||
use tracing_subscriber::EnvFilter;
|
||||
|
||||
use std::collections::HashSet;
|
||||
|
@ -2,9 +2,6 @@
|
||||
// `rustc_driver`.
|
||||
#![feature(rustc_private)]
|
||||
|
||||
#[macro_use]
|
||||
extern crate tracing;
|
||||
|
||||
use std::env;
|
||||
use std::io::stdout;
|
||||
use std::path::{Path, PathBuf};
|
||||
@ -13,6 +10,7 @@ use std::str::FromStr;
|
||||
|
||||
use getopts::{Matches, Options};
|
||||
use rustfmt_nightly as rustfmt;
|
||||
use tracing::debug;
|
||||
use tracing_subscriber::EnvFilter;
|
||||
|
||||
use crate::rustfmt::{load_config, CliOptions, FormatReportFormatterBuilder, Input, Session};
|
||||
|
Loading…
Reference in New Issue
Block a user