File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 11[package ]
22name = " ttrpc-compiler"
3- version = " 0.6.1 "
3+ version = " 0.6.2 "
44edition = " 2018"
55authors = [" The AntFin Kata Team <kata@list.alibaba-inc.com>" ]
66license = " Apache-2.0"
Original file line number Diff line number Diff line change @@ -639,12 +639,9 @@ fn write_generated_common(w: &mut CodeWriter) {
639639 w. write_line ( "// @generated" ) ;
640640
641641 w. write_line ( "" ) ;
642- w. comment ( "https://github.com/Manishearth/rust-clippy/issues/702 ") ;
642+ w. write_line ( "#![cfg_attr(rustfmt, rustfmt_skip)] ") ;
643643 w. write_line ( "#![allow(unknown_lints)]" ) ;
644644 w. write_line ( "#![allow(clipto_camel_casepy)]" ) ;
645- w. write_line ( "" ) ;
646- w. write_line ( "#![cfg_attr(rustfmt, rustfmt_skip)]" ) ;
647- w. write_line ( "" ) ;
648645 w. write_line ( "#![allow(box_pointers)]" ) ;
649646 w. write_line ( "#![allow(dead_code)]" ) ;
650647 w. write_line ( "#![allow(missing_docs)]" ) ;
@@ -655,6 +652,7 @@ fn write_generated_common(w: &mut CodeWriter) {
655652 w. write_line ( "#![allow(unsafe_code)]" ) ;
656653 w. write_line ( "#![allow(unused_imports)]" ) ;
657654 w. write_line ( "#![allow(unused_results)]" ) ;
655+ w. write_line ( "#![allow(clippy::all)]" ) ;
658656}
659657
660658fn gen_file (
You can’t perform that action at this time.
0 commit comments