Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP - tremor-script VM #2650

Draft
wants to merge 13 commits into
base: main
Choose a base branch
from

some matchy vm stuff

11500a3
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Draft

WIP - tremor-script VM #2650

some matchy vm stuff
11500a3
Select commit
Loading
Failed to load commit list.
GitHub Actions / clippy failed Oct 3, 2024 in 0s

reviewdog [clippy] report

reported by reviewdog 🐶

Findings (1)

tremor-script/src/vm/compiler/impls/imut_expr.rs|703 col 30| error: the borrowed expression implements the required traits
--> tremor-script/src/vm/compiler/impls/imut_expr.rs:703:30
|
703 | compiler.comment(&format!("Test tuple element {i}"));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: format!("Test tuple element {i}")
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
note: the lint level is defined here
--> tremor-script/src/lib.rs:20:5
|
20 | clippy::all,
| ^^^^^^^^^^^
= note: #[deny(clippy::needless_borrows_for_generic_args)] implied by #[deny(clippy::all)]

Filtered Findings (0)

Annotations

Check failure on line 703 in tremor-script/src/vm/compiler/impls/imut_expr.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] tremor-script/src/vm/compiler/impls/imut_expr.rs#L703

error: the borrowed expression implements the required traits
   --> tremor-script/src/vm/compiler/impls/imut_expr.rs:703:30
    |
703 |             compiler.comment(&format!("Test tuple element {i}"));
    |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `format!("Test tuple element {i}")`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
note: the lint level is defined here
   --> tremor-script/src/lib.rs:20:5
    |
20  |     clippy::all,
    |     ^^^^^^^^^^^
    = note: `#[deny(clippy::needless_borrows_for_generic_args)]` implied by `#[deny(clippy::all)]`
Raw output
tremor-script/src/vm/compiler/impls/imut_expr.rs:703:30:e:error: the borrowed expression implements the required traits
   --> tremor-script/src/vm/compiler/impls/imut_expr.rs:703:30
    |
703 |             compiler.comment(&format!("Test tuple element {i}"));
    |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `format!("Test tuple element {i}")`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
note: the lint level is defined here
   --> tremor-script/src/lib.rs:20:5
    |
20  |     clippy::all,
    |     ^^^^^^^^^^^
    = note: `#[deny(clippy::needless_borrows_for_generic_args)]` implied by `#[deny(clippy::all)]`


__END__