Skip to content

Feat: small improvements + fixes + tests #300

Feat: small improvements + fixes + tests

Feat: small improvements + fixes + tests #300

Triggered via pull request November 29, 2024 14:38
Status Failure
Total duration 4m 29s
Artifacts

ci.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors
the following explicit lifetimes could be elided: 'a: rig-core/src/loaders/file.rs#L165
error: the following explicit lifetimes could be elided: 'a --> rig-core/src/loaders/file.rs:165:6 | 165 | impl<'a> FileLoader<'a, Result<PathBuf, FileLoaderError>> { | ^^ ^^ | = 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 | 165 - impl<'a> FileLoader<'a, Result<PathBuf, FileLoaderError>> { 165 + impl FileLoader<'_, Result<PathBuf, FileLoaderError>> { |
the following explicit lifetimes could be elided: 'a: rig-core/src/loaders/file.rs#L230
error: the following explicit lifetimes could be elided: 'a --> rig-core/src/loaders/file.rs:230:6 | 230 | impl<'a, T> Iterator for IntoIter<'a, T> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 230 - impl<'a, T> Iterator for IntoIter<'a, T> { 230 + impl<T> Iterator for IntoIter<'_, T> { |
the following explicit lifetimes could be elided: 'a: rig-core/src/loaders/pdf.rs#L338
error: the following explicit lifetimes could be elided: 'a --> rig-core/src/loaders/pdf.rs:338:6 | 338 | impl<'a> PdfFileLoader<'a, Result<PathBuf, FileLoaderError>> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 338 - impl<'a> PdfFileLoader<'a, Result<PathBuf, FileLoaderError>> { 338 + impl PdfFileLoader<'_, Result<PathBuf, FileLoaderError>> { |
the following explicit lifetimes could be elided: 'a: rig-core/src/loaders/pdf.rs#L399
error: the following explicit lifetimes could be elided: 'a --> rig-core/src/loaders/pdf.rs:399:6 | 399 | impl<'a, T> Iterator for IntoIter<'a, T> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 399 - impl<'a, T> Iterator for IntoIter<'a, T> { 399 + impl<T> Iterator for IntoIter<'_, T> { |
stable / clippy
Clippy has exited with exit code 101