Skip to content

chore: update all action versions #5689

chore: update all action versions

chore: update all action versions #5689

GitHub Actions / clippy failed Jul 11, 2024 in 1s

clippy

2 errors

Details

Results

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

Versions

  • rustc 1.79.0 (129f3b996 2024-06-10)
  • cargo 1.79.0 (ffa9cf99a 2024-06-03)
  • clippy 0.1.79 (129f3b9 2024-06-10)

Annotations

Check failure on line 160 in data_structures/src/wit.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

casting `u8` to `u32` may become silently lossy if you later change the type

error: casting `u8` to `u32` may become silently lossy if you later change the type
   --> data_structures/src/wit.rs:160:27
    |
160 |         self / 10_u64.pow(digits as u32)
    |                           ^^^^^^^^^^^^^ help: try: `u32::from(digits)`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless
    = note: requested on the command line with `-D clippy::cast-lossless`

Check failure on line 160 in data_structures/src/wit.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

casting `u8` to `u32` may become silently lossy if you later change the type

error: casting `u8` to `u32` may become silently lossy if you later change the type
   --> data_structures/src/wit.rs:160:27
    |
160 |         self / 10_u64.pow(digits as u32)
    |                           ^^^^^^^^^^^^^ help: try: `u32::from(digits)`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless
    = note: requested on the command line with `-D clippy::cast-lossless`