File tree Expand file tree Collapse file tree 4 files changed +0
-18
lines changed Expand file tree Collapse file tree 4 files changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -181,9 +181,6 @@ lint_builtin_unused_doc_comment = unused doc comment
181181lint_builtin_while_true = denote infinite loops with `loop { " { " } ... { " } " } `
182182 .suggestion = use `loop`
183183
184- lint_byte_slice_in_packed_struct_with_derive = { $ty } slice in a packed struct that derives a built-in trait
185- .help = consider implementing the trait by hand, or remove the `packed` attribute
186-
187184lint_check_name_unknown_tool = unknown lint tool: `{ $tool_name } `
188185
189186lint_closure_returning_async_block = closure returning async block can be made into an async closure
Original file line number Diff line number Diff line change @@ -270,9 +270,6 @@ pub fn decorate_builtin_lint(
270270 }
271271 . decorate_lint ( diag) ;
272272 }
273- BuiltinLintDiag :: ByteSliceInPackedStructWithDerive { ty } => {
274- lints:: ByteSliceInPackedStructWithDerive { ty } . decorate_lint ( diag) ;
275- }
276273 BuiltinLintDiag :: ExternCrateNotIdiomatic { vis_span, ident_span } => {
277274 let suggestion_span = vis_span. between ( ident_span) ;
278275 let code = if vis_span. is_empty ( ) { "use " } else { " use " } ;
Original file line number Diff line number Diff line change @@ -2910,14 +2910,6 @@ pub(crate) struct NamedArgumentUsedPositionally {
29102910 pub named_arg_name : String ,
29112911}
29122912
2913- #[ derive( LintDiagnostic ) ]
2914- #[ diag( lint_byte_slice_in_packed_struct_with_derive) ]
2915- #[ help]
2916- pub ( crate ) struct ByteSliceInPackedStructWithDerive {
2917- // FIXME: make this translatable
2918- pub ty : String ,
2919- }
2920-
29212913#[ derive( LintDiagnostic ) ]
29222914#[ diag( lint_extern_crate_not_idiomatic) ]
29232915pub ( crate ) struct ExternCrateNotIdiomatic {
Original file line number Diff line number Diff line change @@ -690,10 +690,6 @@ pub enum BuiltinLintDiag {
690690 /// Indicates if the named argument is used as a width/precision for formatting
691691 is_formatting_arg : bool ,
692692 } ,
693- ByteSliceInPackedStructWithDerive {
694- // FIXME: enum of byte/string
695- ty : String ,
696- } ,
697693 ExternCrateNotIdiomatic {
698694 vis_span : Span ,
699695 ident_span : Span ,
You can’t perform that action at this time.
0 commit comments