Module dead

Module dead 

Source

StructsΒ§

DeadItem πŸ”’
DeadVisitor πŸ”’
MarkSymbolVisitor πŸ”’

EnumsΒ§

ComesFromAllowExpect πŸ”’
Determine if a work from the worklist is coming from a #[allow] or a #[expect] of dead_code
ReportOn πŸ”’
ShouldWarnAboutField πŸ”’

FunctionsΒ§

check_mod_deathness πŸ”’
create_and_seed_worklist πŸ”’
has_allow_dead_code_or_lang_attr πŸ”’
live_symbols_and_ignored_derived_traits πŸ”’
maybe_record_as_seed πŸ”’
Examine the given definition and record it in the worklist if it should be considered live.
provide πŸ”’
should_explore πŸ”’
Any local definition that may call something in its body block should be explored. For example, if it’s a live function, then we should explore its block to check for codes that may need to be marked as live.