Bump color-eyre from 0.6.2 to 0.6.3 (#115) #238
clippy
8 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 8 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.79.0-nightly (805813650 2024-03-31)
- cargo 1.79.0-nightly (a59aba136 2024-03-28)
- clippy 0.1.79 (8058136 2024-03-31)
Annotations
Check warning on line 125 in src/analyzer.rs
github-actions / clippy
unnecessary use of `get("std").is_some()`
warning: unnecessary use of `get("std").is_some()`
--> src/analyzer.rs:125:39
|
125 | let has_std_feat = package.features.get("std").is_some();
| ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `contains_key("std")`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_get_then_check
= note: `#[warn(clippy::unnecessary_get_then_check)]` on by default
Check warning on line 125 in src/analyzer.rs
github-actions / clippy
unnecessary use of `get("std").is_some()`
warning: unnecessary use of `get("std").is_some()`
--> src/analyzer.rs:125:39
|
125 | let has_std_feat = package.features.get("std").is_some();
| ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `contains_key("std")`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_get_then_check
= note: `#[warn(clippy::unnecessary_get_then_check)]` on by default
Check warning on line 107 in src/test.rs
github-actions / clippy
use of deprecated type alias `toml_edit::Document`: Replaced with `DocumentMut`
warning: use of deprecated type alias `toml_edit::Document`: Replaced with `DocumentMut`
--> src/test.rs:107:24
|
107 | let mut d = s.parse::<Document>().unwrap();
| ^^^^^^^^
Check warning on line 4 in src/test.rs
github-actions / clippy
use of deprecated type alias `toml_edit::Document`: Replaced with `DocumentMut`
warning: use of deprecated type alias `toml_edit::Document`: Replaced with `DocumentMut`
--> src/test.rs:4:38
|
4 | use toml_edit::{visit_mut::VisitMut, Document};
| ^^^^^^^^
Check warning on line 58 in src/resolver.rs
github-actions / clippy
use of deprecated type alias `toml_edit::Document`: Replaced with `DocumentMut`
warning: use of deprecated type alias `toml_edit::Document`: Replaced with `DocumentMut`
--> src/resolver.rs:58:25
|
58 | let mut d = s.parse::<Document>()?;
| ^^^^^^^^
Check warning on line 12 in src/resolver.rs
github-actions / clippy
use of deprecated type alias `toml_edit::Document`: Replaced with `DocumentMut`
warning: use of deprecated type alias `toml_edit::Document`: Replaced with `DocumentMut`
--> src/resolver.rs:12:38
|
12 | use toml_edit::{visit_mut::VisitMut, Document, Value};
| ^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
Check warning on line 58 in src/resolver.rs
github-actions / clippy
use of deprecated type alias `toml_edit::Document`: Replaced with `DocumentMut`
warning: use of deprecated type alias `toml_edit::Document`: Replaced with `DocumentMut`
--> src/resolver.rs:58:25
|
58 | let mut d = s.parse::<Document>()?;
| ^^^^^^^^
Check warning on line 12 in src/resolver.rs
github-actions / clippy
use of deprecated type alias `toml_edit::Document`: Replaced with `DocumentMut`
warning: use of deprecated type alias `toml_edit::Document`: Replaced with `DocumentMut`
--> src/resolver.rs:12:38
|
12 | use toml_edit::{visit_mut::VisitMut, Document, Value};
| ^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default