Skip to content

allowing dead code should be transitive #11380

Closed
@metajack

Description

@metajack

Currently if you have some dead_code and you want to preserve it, you have to annotate every function you want to preserve and all the dead code that function calls.

I think we should consider annotated code to be alive, and then all the code that touches to be alive as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions