Bump toml_edit from 0.22.10 to 0.22.12 (#125) #260
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 (7f2fc33da 2024-04-22)
- cargo 1.79.0-nightly (80d5b607d 2024-04-19)
- clippy 0.1.79 (7f2fc33 2024-04-22)
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