fix #566 #407
This check has been archived and is scheduled for deletion.
Learn more about checks retention
GitHub Actions / stable
failed
Oct 10, 2023 in 0s
stable
1 error, 1 warning
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 1 |
Warning | 1 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.73.0 (cc66ad468 2023-10-03)
- cargo 1.73.0 (9c4383fb5 2023-08-26)
- clippy 0.1.73 (cc66ad4 2023-10-03)
Annotations
Check failure on line 195 in libs/common/src/reporting/symbol.rs
github-actions / stable
this match could be replaced by its body itself
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)]`
Check warning on line 25 in libs/common/src/reporting/processed.rs
github-actions / stable
fields `declarations` and `usage` are never read
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
Loading