Skip to content

Update Rust crate serde to 1.0.176 #573

Update Rust crate serde to 1.0.176

Update Rust crate serde to 1.0.176 #573

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / clippy succeeded Jul 27, 2023 in 1s

clippy

3 warnings

Details

Results

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

Versions

  • rustc 1.73.0-nightly (864bdf784 2023-07-25)
  • cargo 1.73.0-nightly (7ac9416d8 2023-07-24)
  • clippy 0.1.73 (864bdf7 2023-07-25)

Annotations

Check warning on line 80 in src/setup_utils.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of `default` to create a unit struct

warning: use of `default` to create a unit struct
  --> src/setup_utils.rs:80:53
   |
80 |                 Arc::new(AttachStacktraceIntegration::default()),
   |                                                     ^^^^^^^^^^^ help: remove this call to `default`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#default_constructed_unit_structs
   = note: `#[warn(clippy::default_constructed_unit_structs)]` on by default

Check warning on line 216 in src/setup_utils.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unneeded unit expression

warning: unneeded unit expression
   --> src/setup_utils.rs:216:9
    |
216 |         ()
    |         ^^ help: remove the final `()`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit
    = note: `#[warn(clippy::unused_unit)]` on by default

Check warning on line 44 in src/setup_utils.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unnecessary hashes around raw string literal

warning: unnecessary hashes around raw string literal
  --> src/setup_utils.rs:44:52
   |
44 |     static ref ANSI_TERM_REGEX: Regex = Regex::new(r#"\u001b\[.*?m"#).unwrap();
   |                                                    ^^^^^^^^^^^^^^^^^ help: try: `r"\u001b\[.*?m"`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_raw_string_hashes
   = note: `#[warn(clippy::needless_raw_string_hashes)]` on by default