Skip to content

Commit b3f8415

Browse files
committed
Remove regex dependency from clippy_dev
1 parent 6206086 commit b3f8415

File tree

3 files changed

+279
-381
lines changed

3 files changed

+279
-381
lines changed

clippy_dev/Cargo.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,14 @@ clap = "2.33"
99
indoc = "1.0"
1010
itertools = "0.10.1"
1111
opener = "0.5"
12-
regex = "1.5"
1312
shell-escape = "0.1"
1413
walkdir = "2.3"
1514
cargo_metadata = "0.14"
1615

16+
1717
[features]
1818
deny-warnings = []
19+
20+
[package.metadata.rust-analyzer]
21+
# This package uses #[feature(rustc_private)]
22+
rustc_private = true

clippy_dev/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
#![feature(once_cell)]
2+
#![feature(rustc_private)]
23
#![cfg_attr(feature = "deny-warnings", deny(warnings))]
34
// warn on lints, that are included in `rust-lang/rust`s bootstrap
45
#![warn(rust_2018_idioms, unused_lifetimes)]
56

7+
extern crate rustc_lexer;
8+
69
use std::path::PathBuf;
710

811
pub mod bless;

0 commit comments

Comments
 (0)