Implement exhaustiveness as a tree fold. #521
Annotations
10 errors and 22 warnings
Lint:
src/token/variance/mod.rs#L435
this `else { if .. }` block can be collapsed
|
Lint:
src/token/mod.rs#L357
unneeded unit return type
|
Lint:
src/token/mod.rs#L373
this `else { if .. }` block can be collapsed
|
Lint:
src/token/mod.rs#L416
redundant else block
|
Lint:
src/rule.rs#L372
the following explicit lifetimes could be elided: 't
|
Lint:
src/rule.rs#L461
non-canonical implementation of `clone` on a `Copy` type
|
Lint:
src/rule.rs#L495
the following explicit lifetimes could be elided: 't
|
Lint:
src/rule.rs#L499
the following explicit lifetimes could be elided: 't
|
Lint:
src/rule.rs#L503
the following explicit lifetimes could be elided: 't
|
Lint:
src/rule.rs#L507
the following explicit lifetimes could be elided: 't
|
Format
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Format
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Format
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Format
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Format
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Format
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Lint:
src/token/variance/mod.rs#L14
unused import: `Composition`
|
Lint:
src/filter.rs#L52
method `map` is never used
|
Lint:
src/filter.rs#L65
method `transpose` is never used
|
Lint:
src/filter.rs#L71
method `transpose` is never used
|
Lint:
src/filter.rs#L120
methods `filter`, `filter_map`, `filter_node`, `filter_map_node`, `filter_tree`, and `filter_map_tree` are never used
|
Lint:
src/filter.rs#L247
methods `map_filtrate`, `map_residue`, `as_filtrate`, and `as_ref` are never used
|
Lint:
src/filter.rs#L329
method `filter_tree_by_substituent` is never used
|
Lint:
src/filter.rs#L349
method `transpose_filtrate` is never used
|
Lint:
src/filter.rs#L360
method `transpose_filtrate` is never used
|
Lint:
src/filter.rs#L443
associated function `unchecked` is never used
|