Skip to main content

Module handlers

Module handlers 

Source

ModulesΒ§

await_outside_of_async πŸ”’
bad_rtn πŸ”’
break_outside_of_loop πŸ”’
cannot_be_dereferenced πŸ”’
duplicate_field πŸ”’
elided_lifetimes_in_path πŸ”’
expected_array_or_slice_pat πŸ”’
expected_function πŸ”’
explicit_drop_method_use πŸ”’
field_shorthand πŸ”’
Suggests shortening Foo { field: field } to Foo { field } in both expressions and patterns.
fru_in_destructuring_assignment πŸ”’
functional_record_update_on_non_struct πŸ”’
generic_args_prohibited πŸ”’
generic_default_refers_to_self πŸ”’
inactive_code πŸ”’
incoherent_impl πŸ”’
incorrect_case πŸ”’
incorrect_generics_len πŸ”’
incorrect_generics_order πŸ”’
invalid_cast πŸ”’
invalid_derive_target πŸ”’
invalid_lhs_of_assignment πŸ”’
invalid_range_pat_type πŸ”’
json_is_not_rust πŸ”’
This diagnostic provides an assist for creating a struct definition from a JSON example.
macro_error πŸ”’
malformed_derive πŸ”’
method_call_illegal_sized_bound πŸ”’
mismatched_arg_count πŸ”’
mismatched_array_pat_len πŸ”’
missing_fields πŸ”’
missing_lifetime πŸ”’
missing_match_arms πŸ”’
missing_unsafe πŸ”’
moved_out_of_ref πŸ”’
mutability_errors πŸ”’
no_such_field πŸ”’
non_exhaustive_let πŸ”’
non_exhaustive_record_expr πŸ”’
non_exhaustive_record_pat πŸ”’
parenthesized_generic_args_without_fn_trait πŸ”’
pattern_arg_in_extern_fn πŸ”’
private_assoc_item πŸ”’
private_field πŸ”’
remove_trailing_return πŸ”’
remove_unnecessary_else πŸ”’
replace_filter_map_next_with_find_map πŸ”’
trait_impl_incorrect_safety πŸ”’
trait_impl_missing_assoc_item πŸ”’
trait_impl_orphan πŸ”’
trait_impl_redundant_assoc_item πŸ”’
type_mismatch πŸ”’
type_must_be_known πŸ”’
typed_hole πŸ”’
undeclared_label πŸ”’
unimplemented_builtin_macro πŸ”’
unimplemented_trait πŸ”’
union_expr_must_have_exactly_one_field πŸ”’
unlinked_file πŸ”’
Diagnostic emitted for files that aren’t part of any crate.
unreachable_label πŸ”’
unresolved_assoc_item πŸ”’
unresolved_extern_crate πŸ”’
unresolved_field πŸ”’
unresolved_ident πŸ”’
unresolved_import πŸ”’
unresolved_macro_call πŸ”’
unresolved_method πŸ”’
unresolved_module πŸ”’
unused_must_use πŸ”’
unused_variables πŸ”’
useless_braces πŸ”’