@@ -67,7 +67,7 @@ fn main() {
67
67
match matches. subcommand ( ) {
68
68
( "fmt" , Some ( matches) ) => {
69
69
fmt:: run ( matches. is_present ( "check" ) , matches. is_present ( "verbose" ) ) ;
70
- } ,
70
+ }
71
71
( "update_lints" , Some ( matches) ) => {
72
72
if matches. is_present ( "print-only" ) {
73
73
print_lints ( ) ;
@@ -76,8 +76,8 @@ fn main() {
76
76
} else {
77
77
update_lints ( & UpdateMode :: Change ) ;
78
78
}
79
- } ,
80
- _ => { } ,
79
+ }
80
+ _ => { }
81
81
}
82
82
}
83
83
@@ -183,7 +183,7 @@ fn update_lints(update_mode: &UpdateMode) {
183
183
// Generate lists of lints in the clippy::all lint group
184
184
file_change |= replace_region_in_file (
185
185
"../clippy_lints/src/lib.rs" ,
186
- r#"reg.register_lint_group\( "clippy::all""# ,
186
+ r#"store.register_group\(true, "clippy::all""# ,
187
187
r#"\]\);"# ,
188
188
false ,
189
189
update_mode == & UpdateMode :: Change ,
@@ -206,7 +206,7 @@ fn update_lints(update_mode: &UpdateMode) {
206
206
for ( lint_group, lints) in Lint :: by_lint_group ( & usable_lints) {
207
207
file_change |= replace_region_in_file (
208
208
"../clippy_lints/src/lib.rs" ,
209
- & format ! ( "reg.register_lint_group \\ (\" clippy::{}\" " , lint_group) ,
209
+ & format ! ( "store.register_group \\ (true, \" clippy::{}\" " , lint_group) ,
210
210
r#"\]\);"# ,
211
211
false ,
212
212
update_mode == & UpdateMode :: Change ,
0 commit comments