Skip to content

fix trust_dns_resolver issue (#112) #328

fix trust_dns_resolver issue (#112)

fix trust_dns_resolver issue (#112) #328

GitHub Actions / clippy succeeded Nov 30, 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 (5facb422f 2023-11-28)
  • cargo 1.76.0-nightly (9b13310ca 2023-11-24)
  • clippy 0.1.76 (5facb42 2023-11-28)

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