Skip to content

Bump serde from 1.0.200 to 1.0.201 (#130) #270

Bump serde from 1.0.200 to 1.0.201 (#130)

Bump serde from 1.0.200 to 1.0.201 (#130) #270

GitHub Actions / clippy succeeded May 10, 2024 in 0s

clippy

8 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 8
Note 0
Help 0

Versions

  • rustc 1.80.0-nightly (8f9080db4 2024-05-09)
  • cargo 1.80.0-nightly (0ca60e940 2024-05-08)
  • clippy 0.1.80 (8f9080d 2024-05-09)

Annotations

Check warning on line 125 in src/analyzer.rs

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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