Skip to content

ci: add permissions to clippy_check #676

ci: add permissions to clippy_check

ci: add permissions to clippy_check #676

Triggered via push May 2, 2024 16:43
Status Failure
Total duration 48s
Artifacts

clippy_check.yml

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

Annotations

3 errors
./file/that/probably/doesnt/exist.rs#L0
aborting due to 1 previous error
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