Skip to content

chore(GH-160): bump dependencies and disable `thread_local_initialize… #681

chore(GH-160): bump dependencies and disable `thread_local_initialize…

chore(GH-160): bump dependencies and disable `thread_local_initialize… #681

Triggered via push May 10, 2024 18:45
Status Failure
Total duration 43s
Artifacts

clippy_check.yml

on: push
clippy_check
34s
clippy_check
Fit to window
Zoom out
Zoom in

Annotations

2 errors
initializer for `thread_local` value can be made `const`: crates/jrsonnet-evaluator/src/lib.rs#L18
error: initializer for `thread_local` value can be made `const` --> crates/jrsonnet-evaluator/src/stack.rs:18:35 | 18 | static STACK_LIMIT: StackLimit = StackLimit { | ______________________________________^ 19 | | max_stack_size: Cell::new(200), 20 | | current_depth: Cell::new(0), 21 | | }; | |_____^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#thread_local_initializer_can_be_made_const = note: `-D clippy::thread-local-initializer-can-be-made-const` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::thread_local_initializer_can_be_made_const)]` help: replace with | 18 ~ static STACK_LIMIT: StackLimit = const { StackLimit { 19 ~ max_stack_size: Cell::new(200), 20 ~ current_depth: Cell::new(0), 21 ~ } }; |
aborting due to 1 previous error
error: aborting due to 1 previous error