Skip to content

feat: truly lazy variables #1287

feat: truly lazy variables

feat: truly lazy variables #1287

Triggered via pull request September 21, 2024 03:03
@morgantemorgante
synchronize #512
lazy-cell
Status Failure
Total duration 2m 0s
Artifacts

code-quality.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 2 warnings
the following explicit lifetimes could be elided: 'b, 'a: crates/grit-pattern-matcher/src/pattern/variable.rs#L151
error: the following explicit lifetimes could be elided: 'b, 'a --> crates/grit-pattern-matcher/src/pattern/variable.rs:151:22 | 151 | pub fn get_index<'a, 'b, Q: QueryContext>( | ^^ ^^ 152 | &self, 153 | state: &'b mut State<'a, Q>, | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 151 ~ pub fn get_index<Q: QueryContext>( 152 | &self, 153 ~ state: &mut State<'_, Q>, |
the following explicit lifetimes could be elided: 'b, 'a: crates/grit-pattern-matcher/src/pattern/variable.rs#L143
error: the following explicit lifetimes could be elided: 'b, 'a --> crates/grit-pattern-matcher/src/pattern/variable.rs:143:22 | 143 | pub fn get_scope<'a, 'b, Q: QueryContext>( | ^^ ^^ 144 | &self, 145 | state: &'b mut State<'a, Q>, | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 143 ~ pub fn get_scope<Q: QueryContext>( 144 | &self, 145 ~ state: &mut State<'_, Q>, |
the following explicit lifetimes could be elided: 'b, 'a: crates/grit-pattern-matcher/src/pattern/variable.rs#L109
error: the following explicit lifetimes could be elided: 'b, 'a --> crates/grit-pattern-matcher/src/pattern/variable.rs:109:21 | 109 | fn get_internal<'a, 'b, Q: QueryContext>( | ^^ ^^ 110 | &self, 111 | state: &'b mut State<'a, Q>, | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `-D clippy::needless-lifetimes` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::needless_lifetimes)]` help: elide the lifetimes | 109 ~ fn get_internal<Q: QueryContext>( 110 | &self, 111 ~ state: &mut State<'_, Q>, |
clippy_check
Clippy had exited with the 101 exit code
clippy_check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
clippy_check
The following actions use a deprecated Node.js version and will be forced to run on node20: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/