File tree Expand file tree Collapse file tree 4 files changed +0
-21
lines changed Expand file tree Collapse file tree 4 files changed +0
-21
lines changed Original file line number Diff line number Diff line change @@ -205,8 +205,6 @@ lint_confusable_identifier_pair = found both `{$existing_sym}` and `{$sym}` as i
205
205
.current_use = this identifier can be confused with `{ $existing_sym } `
206
206
.other_use = other identifier used here
207
207
208
- lint_custom_inner_attribute_unstable = custom inner attributes are unstable
209
-
210
208
lint_dangling_pointers_from_locals = a dangling pointer will be produced because the local variable `{ $local_var_name } ` will be dropped
211
209
.ret_ty = return type of the { $fn_kind } is `{ $ret_ty } `
212
210
.local_var = `{ $local_var_name } ` is part the { $fn_kind } and will be dropped at the end of the { $fn_kind }
@@ -427,8 +425,6 @@ lint_improper_ctypes_union_non_exhaustive = this union is non-exhaustive
427
425
lint_incomplete_include =
428
426
include macro expected single expression in source
429
427
430
- lint_inner_macro_attribute_unstable = inner macro attributes are unstable
431
-
432
428
lint_invalid_asm_label_binary = avoid using labels containing only the digits `0` and `1` in inline assembly
433
429
.label = use a different label that doesn't start with `0` or `1`
434
430
.help = start numbering with `2` instead
Original file line number Diff line number Diff line change @@ -463,12 +463,6 @@ pub fn decorate_builtin_lint(
463
463
}
464
464
. decorate_lint ( diag)
465
465
}
466
- BuiltinLintDiag :: InnerAttributeUnstable { is_macro } => if is_macro {
467
- lints:: InnerAttributeUnstable :: InnerMacroAttribute
468
- } else {
469
- lints:: InnerAttributeUnstable :: CustomInnerAttribute
470
- }
471
- . decorate_lint ( diag) ,
472
466
BuiltinLintDiag :: OutOfScopeMacroCalls { span, path, location } => {
473
467
lints:: OutOfScopeMacroCalls { span, path, location } . decorate_lint ( diag)
474
468
}
Original file line number Diff line number Diff line change @@ -2678,14 +2678,6 @@ pub(crate) struct IllFormedAttributeInput {
2678
2678
pub docs : & ' static str ,
2679
2679
}
2680
2680
2681
- #[ derive( LintDiagnostic ) ]
2682
- pub ( crate ) enum InnerAttributeUnstable {
2683
- #[ diag( lint_inner_macro_attribute_unstable) ]
2684
- InnerMacroAttribute ,
2685
- #[ diag( lint_custom_inner_attribute_unstable) ]
2686
- CustomInnerAttribute ,
2687
- }
2688
-
2689
2681
#[ derive( LintDiagnostic ) ]
2690
2682
#[ diag( lint_unknown_diagnostic_attribute) ]
2691
2683
pub ( crate ) struct UnknownDiagnosticAttribute {
Original file line number Diff line number Diff line change @@ -800,9 +800,6 @@ pub enum BuiltinLintDiag {
800
800
suggestions : Vec < String > ,
801
801
docs : Option < & ' static str > ,
802
802
} ,
803
- InnerAttributeUnstable {
804
- is_macro : bool ,
805
- } ,
806
803
OutOfScopeMacroCalls {
807
804
span : Span ,
808
805
path : String ,
You can’t perform that action at this time.
0 commit comments