Skip to content

Update rust to 1.81 #8248

Update rust to 1.81

Update rust to 1.81 #8248

GitHub Actions / clippy failed Sep 27, 2024 in 0s

clippy

4 errors

Details

Results

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

Versions

  • rustc 1.81.0 (eeb90cda1 2024-09-04)
  • cargo 1.81.0 (2dbb1af80 2024-08-20)
  • clippy 0.1.81 (eeb90cd 2024-09-04)

Annotations

Check failure on line 10 in massa-models/src/ledger.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

importing legacy numeric constants

error: importing legacy numeric constants
  --> massa-models/src/ledger.rs:10:5
   |
10 | use core::usize;
   |     ^^^^^^^^^^^
   |
   = help: remove this import
   = note: then `usize::<CONST>` will resolve to the respective associated constant
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants

Check failure on line 3 in massa-models/src/clique.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

importing legacy numeric constants

error: importing legacy numeric constants
 --> massa-models/src/clique.rs:3:5
  |
3 | use core::usize;
  |     ^^^^^^^^^^^
  |
  = help: remove this import
  = note: then `usize::<CONST>` will resolve to the respective associated constant
  = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants
  = note: `-D clippy::legacy-numeric-constants` implied by `-D warnings`
  = help: to override `-D warnings` add `#[allow(clippy::legacy_numeric_constants)]`

Check failure on line 10 in massa-models/src/ledger.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

importing legacy numeric constants

error: importing legacy numeric constants
  --> massa-models/src/ledger.rs:10:5
   |
10 | use core::usize;
   |     ^^^^^^^^^^^
   |
   = help: remove this import
   = note: then `usize::<CONST>` will resolve to the respective associated constant
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants

Check failure on line 3 in massa-models/src/clique.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

importing legacy numeric constants

error: importing legacy numeric constants
 --> massa-models/src/clique.rs:3:5
  |
3 | use core::usize;
  |     ^^^^^^^^^^^
  |
  = help: remove this import
  = note: then `usize::<CONST>` will resolve to the respective associated constant
  = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants
  = note: `-D clippy::legacy-numeric-constants` implied by `-D warnings`
  = help: to override `-D warnings` add `#[allow(clippy::legacy_numeric_constants)]`