Skip to content

Commit 82b111b

Browse files
committed
Convert redundant_clone to an analysis pass
1 parent 8f06b19 commit 82b111b

File tree

4 files changed

+744
-267
lines changed

4 files changed

+744
-267
lines changed

clippy_lints/src/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#![feature(array_windows)]
22
#![feature(binary_heap_into_iter_sorted)]
33
#![feature(box_patterns)]
4+
#![feature(hash_extract_if)]
45
#![feature(if_let_guard)]
56
#![feature(iter_intersperse)]
67
#![feature(let_chains)]
@@ -36,6 +37,7 @@ extern crate rustc_infer;
3637
extern crate rustc_lexer;
3738
extern crate rustc_lint;
3839
extern crate rustc_middle;
40+
extern crate rustc_mir_dataflow;
3941
extern crate rustc_parse;
4042
extern crate rustc_session;
4143
extern crate rustc_span;

0 commit comments

Comments
 (0)