Skip to content

Updates ion-tests, fixes to test runner #3055

Updates ion-tests, fixes to test runner

Updates ion-tests, fixes to test runner #3055

GitHub Actions / clippy failed Dec 13, 2024 in 0s

clippy

1 error

Details

Results

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

Versions

  • rustc 1.83.0 (90b35a623 2024-11-26)
  • cargo 1.83.0 (5ffbef321 2024-10-29)
  • clippy 0.1.83 (90b35a6 2024-11-26)

Annotations

Check failure on line 362 in tests/conformance_dsl/model.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

casting to the same type is unnecessary (`usize` -> `usize`)

error: casting to the same type is unnecessary (`usize` -> `usize`)
   --> tests/conformance_dsl/model.rs:362:64
    |
362 |                 SymbolToken::Address(id) => (String::from(""), *id as usize),
    |                                                                ^^^^^^^^^^^^ help: try: `{ *id }`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
    = note: `-D clippy::unnecessary-cast` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(clippy::unnecessary_cast)]`