Skip to content

Bump softprops/action-gh-release from 1 to 2 (#112) #242

Bump softprops/action-gh-release from 1 to 2 (#112)

Bump softprops/action-gh-release from 1 to 2 (#112) #242

GitHub Actions / clippy succeeded Apr 1, 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.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

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 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 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