clippy
16 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 16 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.83.0 (90b35a623 2024-11-26)
- cargo 1.83.0 (5ffbef321 2024-10-29)
- clippy 0.1.83 (90b35a6 2024-11-26)
Annotations
Check failure on line 2229 in src/lazy/text/buffer.rs
github-actions / clippy
using `clone` on type `TextBuffer<'_>` which implements the `Copy` trait
error: using `clone` on type `TextBuffer<'_>` which implements the `Copy` trait
--> src/lazy/text/buffer.rs:2229:40
|
2229 | InvalidInputError::new(self.clone()),
| ^^^^^^^^^^^^ help: try dereferencing it: `*self`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
Check failure on line 2180 in src/lazy/text/buffer.rs
github-actions / clippy
using `clone` on type `TextBuffer<'_>` which implements the `Copy` trait
error: using `clone` on type `TextBuffer<'_>` which implements the `Copy` trait
--> src/lazy/text/buffer.rs:2180:29
|
2180 | let mut remaining = self.clone();
| ^^^^^^^^^^^^ help: try dereferencing it: `*self`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
Check failure on line 1139 in src/lazy/text/buffer.rs
github-actions / clippy
using `clone` on type `TextBuffer<'_>` which implements the `Copy` trait
error: using `clone` on type `TextBuffer<'_>` which implements the `Copy` trait
--> src/lazy/text/buffer.rs:1139:58
|
1139 | let sexp_iter = RawTextSExpIterator_1_1::new(input.clone());
| ^^^^^^^^^^^^^ help: try dereferencing it: `*input`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
Check failure on line 751 in src/lazy/text/buffer.rs
github-actions / clippy
unneeded `return` statement
error: unneeded `return` statement
--> src/lazy/text/buffer.rs:751:21
|
751 | return Err(ErrMode::Backtrack(IonParseError::Invalid(error)));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
= note: `-D clippy::needless-return` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::needless_return)]`
help: remove `return`
|
751 - return Err(ErrMode::Backtrack(IonParseError::Invalid(error)));
751 + Err(ErrMode::Backtrack(IonParseError::Invalid(error)))
|
Check failure on line 689 in src/lazy/text/buffer.rs
github-actions / clippy
using `clone` on type `TextBuffer<'_>` which implements the `Copy` trait
error: using `clone` on type `TextBuffer<'_>` which implements the `Copy` trait
--> src/lazy/text/buffer.rs:689:34
|
689 | let mut input_copy = input.clone();
| ^^^^^^^^^^^^^ help: try dereferencing it: `*input`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
Check failure on line 591 in src/lazy/text/buffer.rs
github-actions / clippy
using `clone` on type `TextBuffer<'_>` which implements the `Copy` trait
error: using `clone` on type `TextBuffer<'_>` which implements the `Copy` trait
--> src/lazy/text/buffer.rs:591:21
|
591 | let input = self.clone();
| ^^^^^^^^^^^^ help: try dereferencing it: `*self`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
Check failure on line 578 in src/lazy/text/buffer.rs
github-actions / clippy
using `clone` on type `TextBuffer<'_>` which implements the `Copy` trait
error: using `clone` on type `TextBuffer<'_>` which implements the `Copy` trait
--> src/lazy/text/buffer.rs:578:21
|
578 | let input = self.clone();
| ^^^^^^^^^^^^ help: try dereferencing it: `*self`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
Check failure on line 418 in src/lazy/text/buffer.rs
github-actions / clippy
using `clone` on type `TextBuffer<'_>` which implements the `Copy` trait
error: using `clone` on type `TextBuffer<'_>` which implements the `Copy` trait
--> src/lazy/text/buffer.rs:418:21
|
418 | let input = self.clone();
| ^^^^^^^^^^^^ help: try dereferencing it: `*self`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
= note: `-D clippy::clone-on-copy` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::clone_on_copy)]`
Check failure on line 2229 in src/lazy/text/buffer.rs
github-actions / clippy
using `clone` on type `TextBuffer<'_>` which implements the `Copy` trait
error: using `clone` on type `TextBuffer<'_>` which implements the `Copy` trait
--> src/lazy/text/buffer.rs:2229:40
|
2229 | InvalidInputError::new(self.clone()),
| ^^^^^^^^^^^^ help: try dereferencing it: `*self`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
Check failure on line 2180 in src/lazy/text/buffer.rs
github-actions / clippy
using `clone` on type `TextBuffer<'_>` which implements the `Copy` trait
error: using `clone` on type `TextBuffer<'_>` which implements the `Copy` trait
--> src/lazy/text/buffer.rs:2180:29
|
2180 | let mut remaining = self.clone();
| ^^^^^^^^^^^^ help: try dereferencing it: `*self`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
Check failure on line 1139 in src/lazy/text/buffer.rs
github-actions / clippy
using `clone` on type `TextBuffer<'_>` which implements the `Copy` trait
error: using `clone` on type `TextBuffer<'_>` which implements the `Copy` trait
--> src/lazy/text/buffer.rs:1139:58
|
1139 | let sexp_iter = RawTextSExpIterator_1_1::new(input.clone());
| ^^^^^^^^^^^^^ help: try dereferencing it: `*input`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
Check failure on line 751 in src/lazy/text/buffer.rs
github-actions / clippy
unneeded `return` statement
error: unneeded `return` statement
--> src/lazy/text/buffer.rs:751:21
|
751 | return Err(ErrMode::Backtrack(IonParseError::Invalid(error)));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
= note: `-D clippy::needless-return` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::needless_return)]`
help: remove `return`
|
751 - return Err(ErrMode::Backtrack(IonParseError::Invalid(error)));
751 + Err(ErrMode::Backtrack(IonParseError::Invalid(error)))
|
Check failure on line 689 in src/lazy/text/buffer.rs
github-actions / clippy
using `clone` on type `TextBuffer<'_>` which implements the `Copy` trait
error: using `clone` on type `TextBuffer<'_>` which implements the `Copy` trait
--> src/lazy/text/buffer.rs:689:34
|
689 | let mut input_copy = input.clone();
| ^^^^^^^^^^^^^ help: try dereferencing it: `*input`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
Check failure on line 591 in src/lazy/text/buffer.rs
github-actions / clippy
using `clone` on type `TextBuffer<'_>` which implements the `Copy` trait
error: using `clone` on type `TextBuffer<'_>` which implements the `Copy` trait
--> src/lazy/text/buffer.rs:591:21
|
591 | let input = self.clone();
| ^^^^^^^^^^^^ help: try dereferencing it: `*self`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
Check failure on line 578 in src/lazy/text/buffer.rs
github-actions / clippy
using `clone` on type `TextBuffer<'_>` which implements the `Copy` trait
error: using `clone` on type `TextBuffer<'_>` which implements the `Copy` trait
--> src/lazy/text/buffer.rs:578:21
|
578 | let input = self.clone();
| ^^^^^^^^^^^^ help: try dereferencing it: `*self`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
Check failure on line 418 in src/lazy/text/buffer.rs
github-actions / clippy
using `clone` on type `TextBuffer<'_>` which implements the `Copy` trait
error: using `clone` on type `TextBuffer<'_>` which implements the `Copy` trait
--> src/lazy/text/buffer.rs:418:21
|
418 | let input = self.clone();
| ^^^^^^^^^^^^ help: try dereferencing it: `*self`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
= note: `-D clippy::clone-on-copy` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::clone_on_copy)]`