Skip to content

Make auto_respawn pub (#116) #1552

Make auto_respawn pub (#116)

Make auto_respawn pub (#116) #1552

GitHub Actions / clippy succeeded Dec 1, 2023 in 0s

clippy

3 warnings

Details

Results

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

Versions

  • rustc 1.76.0-nightly (87e1447aa 2023-11-30)
  • cargo 1.76.0-nightly (26333c732 2023-11-28)
  • clippy 0.1.76 (87e1447 2023-11-30)

Annotations

Check warning on line 9 in azalea-client/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the feature `trait_upcasting` has been stable since 1.76.0-nightly and no longer requires an attribute to enable

warning: the feature `trait_upcasting` has been stable since 1.76.0-nightly and no longer requires an attribute to enable
 --> azalea-client/src/lib.rs:9:12
  |
9 | #![feature(trait_upcasting)]
  |            ^^^^^^^^^^^^^^^
  |
  = note: `#[warn(stable_features)]` on by default

Check warning on line 2 in azalea-block/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the feature `trait_upcasting` has been stable since 1.76.0-nightly and no longer requires an attribute to enable

warning: the feature `trait_upcasting` has been stable since 1.76.0-nightly and no longer requires an attribute to enable
 --> azalea-block/src/lib.rs:2:12
  |
2 | #![feature(trait_upcasting)]
  |            ^^^^^^^^^^^^^^^
  |
  = note: `#[warn(stable_features)]` on by default

Check warning on line 441 in azalea-auth/src/auth.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

accessing first element with `res.display_claims["xui"].get(0)`

warning: accessing first element with `res.display_claims["xui"].get(0)`
   --> azalea-auth/src/auth.rs:441:24
    |
441 |             user_hash: res.display_claims["xui"].get(0).unwrap()["uhs"].clone(),
    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `res.display_claims["xui"].first()`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
    = note: `#[warn(clippy::get_first)]` on by default