diff options
| author | flip1995 <hello@philkrones.com> | 2020-02-21 09:39:38 +0100 |
|---|---|---|
| committer | flip1995 <hello@philkrones.com> | 2020-02-21 11:14:18 +0100 |
| commit | 8472ecda0f18a2b1045d4b8736e06e774ab1c73a (patch) | |
| tree | 26fd7a74ebdb2e8cbcbd7ad815f33cf81bd4b758 /src | |
| parent | b67764d5cb067aaa3ee53168855959465a8a7267 (diff) | |
| download | rust-8472ecda0f18a2b1045d4b8736e06e774ab1c73a.tar.gz rust-8472ecda0f18a2b1045d4b8736e06e774ab1c73a.zip | |
Fix fallout
Diffstat (limited to 'src')
| -rw-r--r-- | src/driver.rs | 4 | ||||
| -rw-r--r-- | src/main.rs | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/driver.rs b/src/driver.rs index 097b796e785..7865f6bb9dd 100644 --- a/src/driver.rs +++ b/src/driver.rs @@ -15,7 +15,7 @@ extern crate rustc_interface; use rustc::ty::TyCtxt; use rustc_interface::interface; -use rustc_tools_util::*; +use rustc_tools_util::VersionInfo; use lazy_static::lazy_static; use std::borrow::Cow; @@ -93,7 +93,7 @@ impl rustc_driver::Callbacks for ClippyCallbacks { #[allow(clippy::find_map, clippy::filter_map)] fn describe_lints() { - use lintlist::*; + use lintlist::{Level, Lint, ALL_LINTS, LINT_LEVELS}; use std::collections::HashSet; println!( diff --git a/src/main.rs b/src/main.rs index 8f9afb95337..93e6996be06 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,6 +1,6 @@ #![cfg_attr(feature = "deny-warnings", deny(warnings))] -use rustc_tools_util::*; +use rustc_tools_util::VersionInfo; const CARGO_CLIPPY_HELP: &str = r#"Checks a package to catch common mistakes and improve your Rust code. |
