Skip to content

Commit 693ceda

Browse files
committed
Remove unused rustc extern crates
1 parent 8e30d4a commit 693ceda

4 files changed

Lines changed: 23 additions & 33 deletions

File tree

Cargo.lock

Lines changed: 21 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/flowistry/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ log = "0.4"
2020
fluid-let = "1.0"
2121
cfg-if = "1.0"
2222
serde = {version = "1", features = ["derive"]}
23+
smallvec = "1"
2324
rustc_utils = {workspace = true, features = ["indexical"]}
2425
indexical = {workspace = true}
2526

crates/flowistry/src/lib.rs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -50,23 +50,11 @@ extern crate polonius_engine;
5050
extern crate rustc_abi;
5151
extern crate rustc_borrowck;
5252
extern crate rustc_data_structures;
53-
extern crate rustc_driver;
54-
extern crate rustc_graphviz;
5553
extern crate rustc_hir;
56-
extern crate rustc_hir_pretty;
5754
extern crate rustc_index;
58-
extern crate rustc_infer;
59-
extern crate rustc_interface;
60-
extern crate rustc_macros;
6155
extern crate rustc_middle;
6256
extern crate rustc_mir_dataflow;
63-
extern crate rustc_mir_transform;
64-
extern crate rustc_serialize;
65-
extern crate rustc_session;
6657
extern crate rustc_span;
67-
extern crate rustc_target;
68-
extern crate rustc_trait_selection;
69-
extern crate smallvec;
7058

7159
pub mod extensions;
7260
pub mod infoflow;

crates/flowistry_ifc/src/analysis.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ pub fn analyze(body_id: &BodyId, results: &FlowResults) -> Result<IssueFound> {
160160
stdout,
161161
"ERROR: insecure flow in {filename} from data at {src_span}:",
162162
filename = filename
163-
.path(RemapPathScopeComponents::DIAGNOSTICS)
163+
.path(RemapPathScopeComponents::DIAGNOSTICS)
164164
.file_name()
165165
.unwrap()
166166
.to_string_lossy(),

0 commit comments

Comments
 (0)