Skip to content

Merge branch 'main' into winnow-experiment #3541

Merge branch 'main' into winnow-experiment

Merge branch 'main' into winnow-experiment #3541

GitHub Actions / clippy failed Jan 3, 2025 in 0s

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 2316 in src/lazy/text/buffer.rs

See this annotation in the file changed.

@github-actions 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:2316:40
     |
2316 |                 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 2267 in src/lazy/text/buffer.rs

See this annotation in the file changed.

@github-actions 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:2267:29
     |
2267 |         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 1998 in src/lazy/text/buffer.rs

See this annotation in the file changed.

@github-actions 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:1998:35
     |
1998 |             if partial.parse_peek(input.clone()).is_ok() {
     |                                   ^^^^^^^^^^^^^ 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 1988 in src/lazy/text/buffer.rs

See this annotation in the file changed.

@github-actions 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:1988:41
     |
1988 |             match terminator.parse_peek(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 1143 in src/lazy/text/buffer.rs

See this annotation in the file changed.

@github-actions 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:1143:58
     |
1143 |             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 578 in src/lazy/text/buffer.rs

See this annotation in the file changed.

@github-actions 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 565 in src/lazy/text/buffer.rs

See this annotation in the file changed.

@github-actions 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:565:21
    |
565 |         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 402 in src/lazy/text/buffer.rs

See this annotation in the file changed.

@github-actions 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:402:21
    |
402 |         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 2316 in src/lazy/text/buffer.rs

See this annotation in the file changed.

@github-actions 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:2316:40
     |
2316 |                 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 2267 in src/lazy/text/buffer.rs

See this annotation in the file changed.

@github-actions 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:2267:29
     |
2267 |         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 1998 in src/lazy/text/buffer.rs

See this annotation in the file changed.

@github-actions 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:1998:35
     |
1998 |             if partial.parse_peek(input.clone()).is_ok() {
     |                                   ^^^^^^^^^^^^^ 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 1988 in src/lazy/text/buffer.rs

See this annotation in the file changed.

@github-actions 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:1988:41
     |
1988 |             match terminator.parse_peek(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 1143 in src/lazy/text/buffer.rs

See this annotation in the file changed.

@github-actions 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:1143:58
     |
1143 |             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 578 in src/lazy/text/buffer.rs

See this annotation in the file changed.

@github-actions 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 565 in src/lazy/text/buffer.rs

See this annotation in the file changed.

@github-actions 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:565:21
    |
565 |         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 402 in src/lazy/text/buffer.rs

See this annotation in the file changed.

@github-actions 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:402:21
    |
402 |         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)]`