Skip to content

support for index expressions and SUM builtin #631

support for index expressions and SUM builtin

support for index expressions and SUM builtin #631

GitHub Actions / clippy failed Nov 5, 2024 in 0s

clippy

2 errors

Details

Results

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

Versions

  • rustc 1.82.0 (f6e511eec 2024-10-15)
  • cargo 1.82.0 (8f40fc59f 2024-08-21)
  • clippy 0.1.82 (f6e511e 2024-10-15)

Annotations

Check failure on line 93 in src/simlin-engine/src/bytecode.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

field `arrays` is never read

error: field `arrays` is never read
  --> src/simlin-engine/src/bytecode.rs:93:16
   |
90 | pub struct ByteCodeContext {
   |            --------------- field in this struct
...
93 |     pub(crate) arrays: Vec<ArrayDefinition>,
   |                ^^^^^^
   |
   = note: `ByteCodeContext` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis

Check failure on line 85 in src/simlin-engine/src/bytecode.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

field `dimensions` is never read

error: field `dimensions` is never read
  --> src/simlin-engine/src/bytecode.rs:85:16
   |
84 | pub struct ArrayDefinition {
   |            --------------- field in this struct
85 |     pub(crate) dimensions: Vec<usize>,
   |                ^^^^^^^^^^
   |
   = note: `ArrayDefinition` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
   = note: `-D dead-code` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(dead_code)]`