Skip to content

feat: skip warning for searches #1046

feat: skip warning for searches

feat: skip warning for searches #1046

Triggered via pull request July 20, 2024 06:51
@morgantemorgante
synchronize #428
smart-walk
Status Failure
Total duration 2m 5s
Artifacts

code-quality.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 2 warnings
unused variable: `definitions`: crates/grit-pattern-matcher/src/pattern/iter_pattern.rs#L217
error: unused variable: `definitions` --> crates/grit-pattern-matcher/src/pattern/iter_pattern.rs:217:5 | 217 | definitions: &'a [PatternDefinition<Q>], | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_definitions`
unused variable: `definitions`: crates/grit-pattern-matcher/src/pattern/iter_pattern.rs#L210
error: unused variable: `definitions` --> crates/grit-pattern-matcher/src/pattern/iter_pattern.rs:210:5 | 210 | definitions: &'a [PatternDefinition<Q>], | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_definitions`
unused variable: `definitions`: crates/grit-pattern-matcher/src/pattern/iter_pattern.rs#L201
error: unused variable: `definitions` --> crates/grit-pattern-matcher/src/pattern/iter_pattern.rs:201:5 | 201 | definitions: &'a [PatternDefinition<Q>], | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_definitions` | = note: `-D unused-variables` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(unused_variables)]`
unused import: `crate::pattern::PatternName`: crates/grit-pattern-matcher/src/analysis.rs#L1
error: unused import: `crate::pattern::PatternName` --> crates/grit-pattern-matcher/src/analysis.rs:1:5 | 1 | use crate::pattern::PatternName; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `-D unused-imports` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(unused_imports)]`
clippy_check
Clippy had exited with the 101 exit code
clippy_check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
clippy_check
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/