fix #566 #407
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
lint.yaml
on: pull_request
stable / fmt
20s
Matrix: clippy
Annotations
4 errors and 4 warnings
this match could be replaced by its body itself:
libs/common/src/reporting/symbol.rs#L192
error: this match could be replaced by its body itself
--> libs/common/src/reporting/symbol.rs:192:9
|
192 | / match *self {
193 | | // Self::Join => String::new(),
194 | | _ => self.to_string(),
195 | | }
| |_________^ help: consider using the match body instead: `self.to_string()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_single_binding
note: the lint level is defined here
--> libs/common/src/lib.rs:1:9
|
1 | #![deny(clippy::all, clippy::nursery, missing_docs)]
| ^^^^^^^^^^^
= note: `#[deny(clippy::match_single_binding)]` implied by `#[deny(clippy::all)]`
|
this match could be replaced by its body itself:
libs/common/src/reporting/symbol.rs#L192
error: this match could be replaced by its body itself
--> libs/common/src/reporting/symbol.rs:192:9
|
192 | / match *self {
193 | | // Self::Join => String::new(),
194 | | _ => self.to_string(),
195 | | }
| |_________^ help: consider using the match body instead: `self.to_string()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_single_binding
note: the lint level is defined here
--> libs/common/src/lib.rs:1:9
|
1 | #![deny(clippy::all, clippy::nursery, missing_docs)]
| ^^^^^^^^^^^
= note: `#[deny(clippy::match_single_binding)]` implied by `#[deny(clippy::all)]`
|
beta / clippy
Clippy had exited with the 101 exit code
|
stable / clippy
Clippy had exited with the 101 exit code
|
fields `declarations` and `usage` are never read:
libs/common/src/reporting/processed.rs#L25
warning: fields `declarations` and `usage` are never read
--> libs/common/src/reporting/processed.rs:25:5
|
13 | pub struct Processed {
| --------- fields in this struct
...
25 | declarations: HashMap<Position, Position>,
| ^^^^^^^^^^^^
...
29 | usage: HashMap<Position, Vec<Position>>,
| ^^^^^
|
= note: `Processed` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
= note: `#[warn(dead_code)]` on by default
|
fields `declarations` and `usage` are never read:
libs/common/src/reporting/processed.rs#L25
warning: fields `declarations` and `usage` are never read
--> libs/common/src/reporting/processed.rs:25:5
|
13 | pub struct Processed {
| --------- fields in this struct
...
25 | declarations: HashMap<Position, Position>,
| ^^^^^^^^^^^^
...
29 | usage: HashMap<Position, Vec<Position>>,
| ^^^^^
|
= note: `Processed` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
= note: `#[warn(dead_code)]` on by default
|
beta / clippy
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/
|
stable / clippy
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/
|