Skip to content

implement rust Scripting #332

implement rust Scripting

implement rust Scripting #332

Triggered via pull request February 4, 2025 19:29
Status Failure
Total duration 48s
Artifacts

rust.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors
the following explicit lifetimes could be elided: 'a: rust/rust/src/scriptingprovider.rs#L196
error: the following explicit lifetimes could be elided: 'a --> ./rust/rust/src/scriptingprovider.rs:196:37 | 196 | pub fn register_output_listener<'a, L: ScriptingOutputListener>( | ^^ 197 | &'a self, | ^^ 198 | listener: L, 199 | ) -> ScriptingInstanceWithListener<'a, L> { | ^^ | = 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 | 196 ~ pub fn register_output_listener<L: ScriptingOutputListener>( 197 ~ &self, 198 | listener: L, 199 ~ ) -> ScriptingInstanceWithListener<'_, L> { |
the following explicit lifetimes could be elided: 'a: rust/rust/src/scriptingprovider.rs#L380
error: the following explicit lifetimes could be elided: 'a --> ./rust/rust/src/scriptingprovider.rs:380:33 | 380 | fn register_output_listener<'a, L: ScriptingOutputListener>( | ^^ 381 | &'a self, | ^^ 382 | listener: L, 383 | ) -> ScriptingInstanceWithListener<'a, L> { | ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 380 ~ fn register_output_listener<L: ScriptingOutputListener>( 381 ~ &self, 382 | listener: L, 383 ~ ) -> ScriptingInstanceWithListener<'_, L> { |
cargo clippy
Error: Clippy has exited with exit code 101