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
181
181
lint_builtin_while_true = denote infinite loops with `loop { " { " } ... { " } " } `
182
182
.suggestion = use `loop`
183
183
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
-
187
184
lint_check_name_unknown_tool = unknown lint tool: `{ $tool_name } `
188
185
189
186
lint_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(
270
270
}
271
271
. decorate_lint ( diag) ;
272
272
}
273
- BuiltinLintDiag :: ByteSliceInPackedStructWithDerive { ty } => {
274
- lints:: ByteSliceInPackedStructWithDerive { ty } . decorate_lint ( diag) ;
275
- }
276
273
BuiltinLintDiag :: ExternCrateNotIdiomatic { vis_span, ident_span } => {
277
274
let suggestion_span = vis_span. between ( ident_span) ;
278
275
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 {
2910
2910
pub named_arg_name : String ,
2911
2911
}
2912
2912
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
-
2921
2913
#[ derive( LintDiagnostic ) ]
2922
2914
#[ diag( lint_extern_crate_not_idiomatic) ]
2923
2915
pub ( crate ) struct ExternCrateNotIdiomatic {
Original file line number Diff line number Diff line change @@ -690,10 +690,6 @@ pub enum BuiltinLintDiag {
690
690
/// Indicates if the named argument is used as a width/precision for formatting
691
691
is_formatting_arg : bool ,
692
692
} ,
693
- ByteSliceInPackedStructWithDerive {
694
- // FIXME: enum of byte/string
695
- ty : String ,
696
- } ,
697
693
ExternCrateNotIdiomatic {
698
694
vis_span : Span ,
699
695
ident_span : Span ,
You can’t perform that action at this time.
0 commit comments