Module rustc

Module rustc 

Source
Expand description

Prefixless lint macros (for rustc/standard lints), re-exported from allow_prefixed crate.

Attribute Macrosยง

ambiguous_associated_items
Alias to # allow(ambiguous_associated_items).
ambiguous_glob_reexports
Alias to # allow(ambiguous_glob_reexports).
anonymous_parameters
Alias to # allow(anonymous_parameters).
arithmetic_overflow
Alias to # allow(arithmetic_overflow).
array_into_iter
Alias to # allow(array_into_iter).
asm_sub_register
Alias to # allow(asm_sub_register).
bad_asm_style
Alias to # allow(bad_asm_style).
bare_trait_objects
Alias to # allow(bare_trait_objects).
bindings_with_variant_name
Alias to # allow(bindings_with_variant_name).
box_pointers
@TODO Does this rustdoc apply/show up anywhere? Alias to # allow(box_pointers).
break_with_label_and_loop
Alias to # allow(break_with_label_and_loop).
byte_slice_in_packed_struct_with_derive
Alias to # allow(byte_slice_in_packed_struct_with_derive).
cenum_impl_drop_cast
Alias to # allow(cenum_impl_drop_cast).
clashing_extern_declarations
Alias to # allow(clashing_extern_declarations).
coherence_leak_check
Alias to # allow(coherence_leak_check).
conflicting_repr_hints
Alias to # allow(conflicting_repr_hints).
const_evaluatable_unchecked
Alias to # allow(const_evaluatable_unchecked).
const_item_mutation
Alias to # allow(const_item_mutation).
dead_code
Alias to # allow(dead_code).
deprecated
Alias to # allow(deprecated).
deprecated_cfg_attr_crate_type_name
Alias to # allow(deprecated_cfg_attr_crate_type_name).
deprecated_where_clause_location
Alias to # allow(deprecated_where_clause_location).
deref_into_dyn_supertrait
Alias to # allow(deref_into_dyn_supertrait).
deref_nullptr
Alias to # allow(deref_nullptr).
drop_bounds
Alias to # allow(drop_bounds).
duplicate_macro_attributes
Alias to # allow(duplicate_macro_attributes).
dyn_drop
Alias to # allow(dyn_drop).
ellipsis_inclusive_range_patterns
Alias to # allow(ellipsis_inclusive_range_patterns).
enum_intrinsics_non_enums
Alias to # allow(enum_intrinsics_non_enums).
explicit_outlives_requirements
@TODO Does this rustdoc apply/show up anywhere? Alias to # allow(explicit_outlives_requirements).
exported_private_dependencies
Alias to # allow(exported_private_dependencies).
ffi_unwind_calls
Alias to # allow(ffi_unwind_calls).
for_loops_over_fallibles
Alias to # allow(for_loops_over_fallibles).
forbidden_lint_groups
Alias to # allow(forbidden_lint_groups).
function_item_references
Alias to # allow(function_item_references).
fuzzy_provenance_casts
Alias to # allow(fuzzy_provenance_casts).
illegal_floating_point_literal_pattern
Alias to # allow(illegal_floating_point_literal_pattern).
implied_bounds_entailment
Alias to # allow(implied_bounds_entailment).
improper_ctypes
Alias to # allow(improper_ctypes).
improper_ctypes_definitions
Alias to # allow(improper_ctypes_definitions).
incomplete_features
Alias to # allow(incomplete_features).
incomplete_include
Alias to # allow(incomplete_include).
indirect_structural_match
Alias to # allow(indirect_structural_match).
ineffective_unstable_trait_impl
Alias to # allow(ineffective_unstable_trait_impl).
inline_no_sanitize
Alias to # allow(inline_no_sanitize).
invalid_alignment
Alias to # allow(invalid_alignment).
invalid_atomic_ordering
Alias to # allow(invalid_atomic_ordering).
invalid_doc_attributes
Alias to # allow(invalid_doc_attributes).
invalid_macro_export_arguments
Alias to # allow(invalid_macro_export_arguments).
invalid_type_param_default
Alias to # allow(invalid_type_param_default).
invalid_value
Alias to # allow(invalid_value).
irrefutable_let_patterns
Alias to # allow(irrefutable_let_patterns).
keyword_idents
Alias to # allow(keyword_idents).
large_assignments
Alias to # allow(large_assignments).
late_bound_lifetime_arguments
Alias to # allow(late_bound_lifetime_arguments).
legacy_derive_helpers
Alias to # allow(legacy_derive_helpers).
let_underscore_drop
Alias to # allow(let_underscore_drop).
let_underscore_lock
Alias to # allow(let_underscore_lock).
lossy_provenance_casts
Alias to # allow(lossy_provenance_casts).
macro_use_extern_crate
Alias to # allow(macro_use_extern_crate).
map_unit_fn
Alias to # allow(map_unit_fn).
meta_variable_misuse
Alias to # allow(meta_variable_misuse).
missing_abi
Alias to # allow(missing_abi).
missing_copy_implementations
Alias to # allow(missing_copy_implementations).
missing_debug_implementations
Alias to # allow(missing_debug_implementations).
missing_docs
Alias to # allow(missing_docs).
missing_fragment_specifier
Alias to # allow(missing_fragment_specifier).
multiple_supertrait_upcastable
Alias to # allow(multiple_supertrait_upcastable).
must_not_suspend
Alias to # allow(must_not_suspend).
mutable_transmutes
Alias to # allow(mutable_transmutes).
named_arguments_used_positionally
Alias to # allow(named_arguments_used_positionally).
named_asm_labels
Alias to # allow(named_asm_labels).
no_mangle_const_items
Alias to # allow(no_mangle_const_items).
no_mangle_generic_items
Alias to # allow(no_mangle_generic_items).
non_camel_case_types
Alias to # allow(non_camel_case_types).
non_exhaustive_omitted_patterns
Alias to # allow(non_exhaustive_omitted_patterns).
non_fmt_panics
Alias to # allow(non_fmt_panics).
non_shorthand_field_patterns
Alias to # allow(non_shorthand_field_patterns).
non_snake_case
Alias to # allow(non_snake_case).
non_upper_case_globals
Alias to # allow(non_upper_case_globals).
nontrivial_structural_match
Alias to # allow(nontrivial_structural_match).
noop_method_call
Alias to # allow(noop_method_call).
opaque_hidden_inferred_bound
Alias to # allow(opaque_hidden_inferred_bound).
order_dependent_trait_objects
Alias to # allow(order_dependent_trait_objects).
overflowing_literals
Alias to # allow(overflowing_literals).
overlapping_range_endpoints
Alias to # allow(overlapping_range_endpoints).
path_statements
Alias to # allow(path_statements).
patterns_in_fns_without_body
Alias to # allow(patterns_in_fns_without_body).
pointer_structural_match
Alias to # allow(pointer_structural_match).
private_in_public
Alias to # allow(private_in_public).
proc_macro_back_compat
Alias to # allow(proc_macro_back_compat).
proc_macro_derive_resolution_fallback
Alias to # allow(proc_macro_derive_resolution_fallback).
pub_use_of_private_extern_crate
Alias to # allow(pub_use_of_private_extern_crate).
redundant_semicolons
Alias to # allow(redundant_semicolons).
renamed_and_removed_lints
Alias to # allow(renamed_and_removed_lints).
repr_transparent_external_private_fields
Alias to # allow(repr_transparent_external_private_fields).
rust_2021_incompatible_closure_captures
Alias to # allow(rust_2021_incompatible_closure_captures).
rust_2021_prelude_collisions
Alias to # allow(rust_2021_prelude_collisions).
semicolon_in_expressions_from_macros
Alias to # allow(semicolon_in_expressions_from_macros).
single_use_lifetimes
Alias to # allow(single_use_lifetimes).
soft_unstable
Alias to # allow(soft_unstable).
special_module_name
Alias to # allow(special_module_name).
stable_features
Alias to # allow(stable_features).
suspicious_auto_trait_impls
Alias to # allow(suspicious_auto_trait_impls).
temporary_cstring_as_ptr
Alias to # allow(temporary_cstring_as_ptr).
test_unstable_lint
Alias to # allow(test_unstable_lint).
text_direction_codepoint_in_comment
Alias to # allow(text_direction_codepoint_in_comment).
text_direction_codepoint_in_literal
Alias to # allow(text_direction_codepoint_in_literal).
trivial_bounds
Alias to # allow(trivial_bounds).
trivial_casts
Alias to # allow(trivial_casts).
trivial_numeric_casts
Alias to # allow(trivial_numeric_casts).
type_alias_bounds
Alias to # allow(type_alias_bounds).
tyvar_behind_raw_pointer
Alias to # allow(tyvar_behind_raw_pointer).
unconditional_panic
Alias to # allow(unconditional_panic).
unconditional_recursion
Alias to # allow(unconditional_recursion).
undefined_naked_function_abi
Alias to # allow(undefined_naked_function_abi).
unexpected_cfgs
Alias to # allow(unexpected_cfgs).
unfulfilled_lint_expectations
Alias to # allow(unfulfilled_lint_expectations).
ungated_async_fn_track_caller
Alias to # allow(ungated_async_fn_track_caller).
uninhabited_static
Alias to # allow(uninhabited_static).
unknown_lints
Alias to # allow(unknown_lints).
unnameable_test_items
Alias to # allow(unnameable_test_items).
unreachable_code
Alias to # allow(unreachable_code).
unreachable_patterns
Alias to # allow(unreachable_patterns).
unreachable_pub
Alias to # allow(unreachable_pub).
unsafe_code
Alias to # allow(unsafe_code).
unsafe_op_in_unsafe_fn
Alias to # allow(unsafe_op_in_unsafe_fn).
unstable_name_collisions
Alias to # allow(unstable_name_collisions).
unstable_syntax_pre_expansion
Alias to # allow(unstable_syntax_pre_expansion).
unsupported_calling_conventions
Alias to # allow(unsupported_calling_conventions).
unused_allocation
Alias to # allow(unused_allocation).
unused_assignments
Alias to # allow(unused_assignments).
unused_attributes
Alias to # allow(unused_attributes).
unused_braces
Alias to # allow(unused_braces).
unused_comparisons
Alias to # allow(unused_comparisons).
unused_doc_comments
Alias to # allow(unused_doc_comments).
unused_extern_crates
Alias to # allow(unused_extern_crates).
unused_features
Alias to # allow(unused_features).
unused_import_braces
Alias to # allow(unused_import_braces).
unused_imports
Alias to # allow(unused_imports).
unused_labels
Alias to # allow(unused_labels).
unused_lifetimes
Alias to # allow(unused_lifetimes).
unused_macro_rules
Alias to # allow(unused_macro_rules).
unused_macros
Alias to # allow(unused_macros).
unused_must_use
Alias to # allow(unused_must_use).
unused_mut
Alias to # allow(unused_mut).
unused_parens
Alias to # allow(unused_parens).
unused_qualifications
Alias to # allow(unused_qualifications).
unused_results
Alias to # allow(unused_results).
unused_tuple_struct_fields
Alias to # allow(unused_tuple_struct_fields).
unused_variables
Alias to # allow(unused_variables).
useless_deprecated
Alias to # allow(useless_deprecated).
variant_size_differences
Alias to # allow(variant_size_differences).
where_clauses_object_safety
Alias to # allow(where_clauses_object_safety).
while_true
Alias to # allow(while_true).