File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -639,12 +639,9 @@ fn write_generated_common(w: &mut CodeWriter) {
639
639
w. write_line ( "// @generated" ) ;
640
640
641
641
w. write_line ( "" ) ;
642
- w. comment ( "https://github.com/Manishearth/rust-clippy/issues/702 ") ;
642
+ w. write_line ( "#![cfg_attr(rustfmt, rustfmt_skip)] ") ;
643
643
w. write_line ( "#![allow(unknown_lints)]" ) ;
644
644
w. write_line ( "#![allow(clipto_camel_casepy)]" ) ;
645
- w. write_line ( "" ) ;
646
- w. write_line ( "#![cfg_attr(rustfmt, rustfmt_skip)]" ) ;
647
- w. write_line ( "" ) ;
648
645
w. write_line ( "#![allow(box_pointers)]" ) ;
649
646
w. write_line ( "#![allow(dead_code)]" ) ;
650
647
w. write_line ( "#![allow(missing_docs)]" ) ;
@@ -655,6 +652,7 @@ fn write_generated_common(w: &mut CodeWriter) {
655
652
w. write_line ( "#![allow(unsafe_code)]" ) ;
656
653
w. write_line ( "#![allow(unused_imports)]" ) ;
657
654
w. write_line ( "#![allow(unused_results)]" ) ;
655
+ w. write_line ( "#![allow(clippy::all)]" ) ;
658
656
}
659
657
660
658
fn gen_file (
You can’t perform that action at this time.
0 commit comments