Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Commit 3d82037

Browse files
committed
Remove unused sysroot rust crates
1 parent 2d7314e commit 3d82037

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

rls/src/build/rustc.rs

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,14 @@
11
// FIXME: switch to something more ergonomic here, once available.
22
// (Currently, there is no way to opt into sysroot crates without `extern crate`.)
33
#[allow(unused_extern_crates)]
4-
extern crate getopts;
5-
#[allow(unused_extern_crates)]
6-
extern crate rustc_session;
7-
#[allow(unused_extern_crates)]
8-
extern crate rustc_codegen_utils;
9-
#[allow(unused_extern_crates)]
104
extern crate rustc_driver;
115
#[allow(unused_extern_crates)]
12-
extern crate rustc_errors;
13-
#[allow(unused_extern_crates)]
146
extern crate rustc_interface;
157
#[allow(unused_extern_crates)]
16-
extern crate rustc_metadata;
17-
#[allow(unused_extern_crates)]
18-
extern crate rustc_resolve;
19-
#[allow(unused_extern_crates)]
208
extern crate rustc_save_analysis;
219
#[allow(unused_extern_crates)]
10+
extern crate rustc_session;
11+
#[allow(unused_extern_crates)]
2212
extern crate rustc_span;
2313

2414
use std::collections::{BTreeMap, HashMap, HashSet};

0 commit comments

Comments
 (0)