@@ -13,26 +13,6 @@ passes_abi_ne =
1313passes_abi_of =
1414 fn_abi_of({ $fn_name } ) = { $fn_abi }
1515
16- passes_align_attr_application =
17- `#[rustc_align(...)]` should be applied to a function item
18- .label = not a function item
19-
20- passes_align_on_fields =
21- attribute should be applied to a function or method
22- .warn = { -passes_previously_accepted }
23-
24- passes_align_should_be_repr_align =
25- `#[rustc_align(...)]` is not supported on { $item } items
26- .suggestion = use `#[repr(align(...))]` instead
27-
28- passes_allow_incoherent_impl =
29- `rustc_allow_incoherent_impl` attribute should be applied to impl items
30- .label = the only currently supported targets are inherent methods
31-
32- passes_allow_internal_unstable =
33- attribute should be applied to a macro
34- .label = not a macro
35-
3616passes_attr_application_enum =
3717 attribute should be applied to an enum
3818 .label = not an enum
@@ -78,18 +58,10 @@ passes_change_fields_to_be_of_unit_type =
7858 *[ other ] fields
7959 }
8060
81- passes_cold =
82- { passes_should_be_applied_to_fn }
83- .warn = { -passes_previously_accepted }
84- .label = { passes_should_be_applied_to_fn .label }
85-
8661passes_collapse_debuginfo =
8762 `collapse_debuginfo` attribute should be applied to macro definitions
8863 .label = not a macro definition
8964
90- passes_confusables = attribute should be applied to an inherent method
91- .label = not an inherent method
92-
9365passes_const_continue_attr =
9466 `#[const_continue]` should be applied to a break expression
9567 .label = not a break expression
@@ -129,9 +101,6 @@ passes_debug_visualizer_placement =
129101passes_debug_visualizer_unreadable =
130102 couldn't read { $file } : { $error }
131103
132- passes_deprecated =
133- attribute is ignored here
134-
135104passes_deprecated_annotation_has_no_effect =
136105 this `#[deprecated]` annotation has no effect
137106 .suggestion = remove the unnecessary deprecation attribute
@@ -304,10 +273,6 @@ passes_duplicate_lang_item_crate_depends =
304273passes_enum_variant_same_name =
305274 it is impossible to refer to the { $dead_descr } `{ $dead_name } ` because it is shadowed by this enum variant with the same name
306275
307- passes_export_name =
308- attribute should be applied to a free function, impl method or static
309- .label = not a free function, impl method or static
310-
311276passes_extern_main =
312277 the `main` function cannot be declared in an `extern` block
313278
@@ -327,11 +292,6 @@ passes_has_incoherent_inherent_impl =
327292 `rustc_has_incoherent_inherent_impls` attribute should be applied to types or traits
328293 .label = only adts, extern types and traits are supported
329294
330- passes_ignored_attr =
331- `#[{ $sym } ]` is ignored on struct fields and match arms
332- .warn = { -passes_previously_accepted }
333- .note = { -passes_see_issue (issue : " 80564 " )}
334-
335295passes_ignored_attr_with_macro =
336296 `#[{ $sym } ]` is ignored on struct fields, match arms and macro defs
337297 .warn = { -passes_previously_accepted }
@@ -373,22 +333,10 @@ passes_incorrect_target =
373333passes_ineffective_unstable_impl = an `#[unstable]` annotation here has no effect
374334 .note = see issue #55436 <https://github.com/rust-lang/rust/issues/55436> for more information
375335
376- passes_inline_ignored_constants =
377- `#[inline]` is ignored on constants
378- .warn = { -passes_previously_accepted }
379- .note = { -passes_see_issue (issue : " 65833 " )}
380-
381336passes_inline_ignored_for_exported =
382337 `#[inline]` is ignored on externally exported functions
383338 .help = externally exported functions are functions with `#[no_mangle]`, `#[export_name]`, or `#[linkage]`
384339
385- passes_inline_ignored_function_prototype =
386- `#[inline]` is ignored on function prototypes
387-
388- passes_inline_not_fn_or_closure =
389- attribute should be applied to function or closure
390- .label = not a function or closure
391-
392340passes_inner_crate_level_attr =
393341 crate-level attribute should be in the root module
394342
@@ -565,10 +513,6 @@ passes_only_has_effect_on =
565513 *[ unspecified ] (unspecified--this is a compiler bug)
566514 }
567515
568- passes_optimize_invalid_target =
569- attribute applied to an invalid target
570- .label = invalid target
571-
572516passes_outer_crate_level_attr =
573517 crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
574518
@@ -687,16 +631,8 @@ passes_should_be_applied_to_trait =
687631 attribute should be applied to a trait
688632 .label = not a trait
689633
690- passes_stability_promotable =
691- attribute cannot be applied to an expression
692-
693634passes_string_interpolation_only_works = string interpolation only works in `format!` invocations
694635
695- passes_target_feature_on_statement =
696- { passes_should_be_applied_to_fn }
697- .warn = { -passes_previously_accepted }
698- .label = { passes_should_be_applied_to_fn .label }
699-
700636passes_trait_impl_const_stability_mismatch = const stability on the impl does not match the const stability on the trait
701637passes_trait_impl_const_stability_mismatch_impl_stable = this impl is (implicitly) stable...
702638passes_trait_impl_const_stability_mismatch_impl_unstable = this impl is unstable...
0 commit comments