From c5b9d22b02391760a23f3e13aa62e5ea870deef1 Mon Sep 17 00:00:00 2001 From: "Samuel E. Moelius III" Date: Thu, 11 Feb 2021 15:03:52 -0500 Subject: [PATCH] Update clippy_utils/src/lib.rs --- clippy_utils/src/lib.rs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/clippy_utils/src/lib.rs b/clippy_utils/src/lib.rs index 213945a63a3..06f018055d5 100644 --- a/clippy_utils/src/lib.rs +++ b/clippy_utils/src/lib.rs @@ -11,22 +11,18 @@ #![feature(stmt_expr_attributes)] #![feature(control_flow_enum)] +// FIXME: switch to something more ergonomic here, once available. +// (Currently there is no way to opt into sysroot crates without `extern crate`.) extern crate rustc_ast; extern crate rustc_ast_pretty; -extern crate rustc_attr; extern crate rustc_data_structures; -extern crate rustc_driver; extern crate rustc_errors; extern crate rustc_hir; extern crate rustc_hir_pretty; -extern crate rustc_index; extern crate rustc_infer; -extern crate rustc_lexer; extern crate rustc_lint; extern crate rustc_middle; extern crate rustc_mir; -extern crate rustc_parse; -extern crate rustc_parse_format; extern crate rustc_session; extern crate rustc_span; extern crate rustc_target;