File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 5
5
6
6
A collection of lints to catch common mistakes and improve your [ Rust] ( https://github.com/rust-lang/rust ) code.
7
7
8
- [ There are 362 lints included in this crate!] ( https://rust-lang.github.io/rust-clippy/master/index.html )
8
+ [ There are over 350 lints included in this crate!] ( https://rust-lang.github.io/rust-clippy/master/index.html )
9
9
10
10
We have a bunch of lint categories to allow you to choose how much Clippy is supposed to ~~ annoy~~ help you:
11
11
Original file line number Diff line number Diff line change @@ -291,10 +291,11 @@ where
291
291
}
292
292
293
293
if !found {
294
- // This happens if the provided regex in `clippy_dev/src/main.rs` is not found in the
294
+ // This happens if the provided regex in `clippy_dev/src/main.rs` does not match in the
295
295
// given text or file. Most likely this is an error on the programmer's side and the Regex
296
296
// is incorrect.
297
- eprintln ! ( "error: regex `{:?}` not found. You may have to update it." , start) ;
297
+ eprintln ! ( "error: regex \n {:?}\n doesn't match. You may have to update it." , start) ;
298
+ std:: process:: exit ( 1 ) ;
298
299
}
299
300
300
301
let mut new_lines = new_lines. join ( "\n " ) ;
You can’t perform that action at this time.
0 commit comments