Update Rust crate chrono to 0.4.35 #998
clippy
5 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 5 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.78.0-nightly (b6d2d841b 2024-03-05)
- cargo 1.78.0-nightly (f772ec022 2024-03-01)
- clippy 0.1.78 (b6d2d84 2024-03-05)
Annotations
Check warning on line 166 in src/main.rs
github-actions / clippy
called `unwrap` on `ignore_git_folder` after checking its variant with `is_ok`
warning: called `unwrap` on `ignore_git_folder` after checking its variant with `is_ok`
--> src/main.rs:166:3
|
165 | if ignore_git_folder.is_ok() {
| ---------------------------- help: try: `if let Ok(..) = ignore_git_folder`
166 | ignore_git_folder.unwrap();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap
Check warning on line 160 in src/main.rs
github-actions / clippy
called `unwrap` on `ignore_output_folder` after checking its variant with `is_ok`
warning: called `unwrap` on `ignore_output_folder` after checking its variant with `is_ok`
--> src/main.rs:160:3
|
159 | if ignore_output_folder.is_ok() {
| ------------------------------- help: try: `if let Ok(..) = ignore_output_folder`
160 | ignore_output_folder.unwrap();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap
= note: `#[warn(clippy::unnecessary_unwrap)]` on by default
Check warning on line 215 in src/lib.rs
github-actions / clippy
this function has too many arguments (10/7)
warning: this function has too many arguments (10/7)
--> src/lib.rs:212:2
|
212 | Constructor,
| ^----------
| |
| _____in this derive macro expansion
| |
213 | | )]
214 | | /// Generated data regarding a Mokk file
215 | | pub struct Page {
| |_______________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
= note: this warning originates in the derive macro `Constructor` (in Nightly builds, run with -Z macro-backtrace for more info)
Check warning on line 64 in src/lib.rs
github-actions / clippy
this function has too many arguments (19/7)
warning: this function has too many arguments (19/7)
--> src/lib.rs:61:2
|
61 | Constructor,
| ^----------
| |
| _____in this derive macro expansion
| |
62 | | )]
63 | | /// A Mokk file's date-time metadata
64 | | pub struct Date {
| |_______________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
= note: `#[warn(clippy::too_many_arguments)]` on by default
= note: this warning originates in the derive macro `Constructor` (in Nightly builds, run with -Z macro-backtrace for more info)
Check warning on line 36 in src/lib.rs
github-actions / clippy
the item `TryFrom` is imported redundantly
warning: the item `TryFrom` is imported redundantly
--> src/lib.rs:36:5
|
36 | use std::convert::TryFrom;
| ^^^^^^^^^^^^^^^^^^^^^
--> /rustc/b6d2d841bcf4b77343b159f134c7d39c2dd4ceaa/library/std/src/prelude/mod.rs:129:13
|
= note: the item `TryFrom` is already defined here
|
= note: `#[warn(unused_imports)]` on by default