Skip to content

Commit c62fbd5

Browse files
committed
Improve cargo dev rename_lint
* rename test files inside directories and ui-toml tests * rename tests prefixed with the lint's name * better module path renaming when renaming the lint's module * partially delete lint files when uplifting * rename ui_test error markers
1 parent ae7ad3f commit c62fbd5

File tree

5 files changed

+449
-255
lines changed

5 files changed

+449
-255
lines changed

clippy_dev/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ version = "0.0.1"
55
edition = "2024"
66

77
[dependencies]
8-
aho-corasick = "1.0"
98
chrono = { version = "0.4.38", default-features = false, features = ["clock"] }
109
clap = { version = "4.4", features = ["derive"] }
1110
indoc = "1.0"

clippy_dev/src/lib.rs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
#![feature(rustc_private, if_let_guard, let_chains)]
1+
#![feature(
2+
rustc_private,
3+
if_let_guard,
4+
let_chains,
5+
os_str_slice,
6+
os_string_truncate,
7+
slice_split_once
8+
)]
29
#![warn(
310
trivial_casts,
411
trivial_numeric_casts,

0 commit comments

Comments
 (0)