Skip to content

fix: wrong error code #64

fix: wrong error code

fix: wrong error code #64

GitHub Actions / clippy succeeded Jun 27, 2024 in 0s

clippy

5 warnings

Details

Results

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

Versions

  • rustc 1.81.0-nightly (4bc39f028 2024-06-26)
  • cargo 1.81.0-nightly (4ed7bee47 2024-06-25)
  • clippy 0.1.81 (4bc39f0 2024-06-26)

Annotations

Check warning on line 4 in azalea/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the feature `lazy_cell` has been stable since 1.80.0 and no longer requires an attribute to enable

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

Check warning on line 3 in azalea-physics/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the feature `lazy_cell` has been stable since 1.80.0 and no longer requires an attribute to enable

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

Check warning on line 832 in azalea-block/azalea-block-macros/src/lib.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-block/azalea-block-macros/src/lib.rs:832:14
    |
832 |         _ => &name,
    |              ^^^^^ help: change this to: `name`
    |
    = 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 2 in azalea-core/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the feature `lazy_cell` has been stable since 1.80.0 and no longer requires an attribute to enable

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

Check warning on line 832 in azalea-block/azalea-block-macros/src/lib.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-block/azalea-block-macros/src/lib.rs:832:14
    |
832 |         _ => &name,
    |              ^^^^^ help: change this to: `name`
    |
    = 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