bnjbvr opened PR #4116 from narrow-dead-code
to main
:
Having module wide
allow(dead_code)
may hide some code that's really
dead. In this commit I just narrowed the declarations to the specific
enum variants that were not used (as it seems reasonable to keep them
and their handling in all the matches, for future use). And the compiler
found more dead code that I think we can remove safely in the short
term.With this, the only files annotated with a module-wide
allow(dead_code)
are isle-generated files.
cfallin submitted PR review.
bnjbvr updated PR #4116 from narrow-dead-code
to main
.
bnjbvr merged PR #4116.
Last updated: Dec 23 2024 at 12:05 UTC