C headers: utility to generate c code from solc output #85
This check has been archived and is scheduled for deletion.
Learn more about checks retention
GitHub Actions / clippy
succeeded
Sep 17, 2023 in 0s
clippy
3 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 3 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.73.0-beta.5 (ea9959354 2023-09-09)
- cargo 1.73.0-beta.5 (9c4383fb5 2023-08-26)
- clippy 0.1.73 (ea99593 2023-09-09)
Annotations
Check warning on line 49 in src/c/header.rs
github-actions / clippy
use of `or_insert` to construct default value
warning: use of `or_insert` to construct default value
--> src/c/header.rs:49:26
|
49 | .or_insert(Vec::default())
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `or_default()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default
Check warning on line 57 in src/c/gen.rs
github-actions / clippy
use of `or_insert` to construct default value
warning: use of `or_insert` to construct default value
--> src/c/gen.rs:57:26
|
57 | .or_insert(Vec::default())
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `or_default()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default
= note: `#[warn(clippy::unwrap_or_default)]` on by default
Check warning on line 9 in src/c/header.rs
github-actions / clippy
function `c_gen` is never used
warning: function `c_gen` is never used
--> src/c/header.rs:9:8
|
9 | pub fn c_gen(in_path: String, out_path: String) -> eyre::Result<()> {
| ^^^^^
|
= note: `#[warn(dead_code)]` on by default
Loading