Skip to main content

Module suspicious

Module suspicious 

Source
Expand description

Lints that checks for suspicious, potentially incorrect code.

Unlike correctness lints, these may have false positives that you need to #[allow(...)].

These lints are warn by default.

Modulesยง

insert_message_resource
Checks for the Messages<T> resource being manually inserted with App::init_resource() or App::insert_resource() instead of with App::add_message().
iter_current_update_messages
Checks for calls to Messages::<T>::iter_current_update_messages().
unit_in_bundle
Checks for Bundles that contain the unit () as a component.