Skip to content

Removes special cases for incompleteness detection #1212

Removes special cases for incompleteness detection

Removes special cases for incompleteness detection #1212

GitHub Actions / clippy failed Jan 5, 2025 in 1s

clippy

12 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 12
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 2180 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:2180:40
     |
2180 |                 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 2131 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:2131:29
     |
2131 |         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 1105 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:1105:58
     |
1105 |             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 580 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:580:21
    |
580 |         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 567 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:567:21
    |
567 |         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 407 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:407:21
    |
407 |         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 2180 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:2180:40
     |
2180 |                 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 2131 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:2131:29
     |
2131 |         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 1105 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:1105:58
     |
1105 |             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 580 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:580:21
    |
580 |         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 567 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:567:21
    |
567 |         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 407 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:407:21
    |
407 |         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)]`