Skip to content

add test for closing and opening containers #780

add test for closing and opening containers

add test for closing and opening containers #780

GitHub Actions / clippy succeeded Sep 28, 2025 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.92.0-nightly (4082d6a3f 2025-09-27)
  • cargo 1.92.0-nightly (f2932725b 2025-09-24)
  • clippy 0.1.92 (4082d6a3f0 2025-09-27)

Annotations

Check warning on line 131 in azalea-client/src/test_utils/simulation.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this expression creates a reference which is immediately dereferenced by the compiler

warning: this expression creates a reference which is immediately dereferenced by the compiler
   --> azalea-client/src/test_utils/simulation.rs:131:11
    |
131 |         f(&mut self.app.world().entity(self.entity).get::<T>().unwrap());
    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `self.app.world().entity(self.entity).get::<T>().unwrap()`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
    = note: `#[warn(clippy::needless_borrow)]` on by default

Check warning on line 14 in azalea-client/src/local_player.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused import: `tracing::error`

warning: unused import: `tracing::error`
  --> azalea-client/src/local_player.rs:14:5
   |
14 | use tracing::error;
   |     ^^^^^^^^^^^^^^

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

See this annotation in the file changed.

@github-actions github-actions / clippy

unused import: `error`

warning: unused import: `error`
  --> azalea-client/src/client.rs:46:15
   |
46 | use tracing::{error, info, warn};
   |               ^^^^^
   |
   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default