clippy
5 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 5 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.78.0 (9b00956e5 2024-04-29)
- cargo 1.78.0 (54d8815d0 2024-03-26)
- clippy 0.1.78 (9b00956 2024-04-29)
Annotations
Check failure on line 1130 in src/bam/mod.rs
github-actions / clippy
mismatched types
error[E0308]: mismatched types
--> src/bam/mod.rs:1130:29
|
1130 | (*rec).l_text = l_text;
| ------------- ^^^^^^ expected `u64`, found `usize`
| |
| expected due to the type of this binding
Check failure on line 294 in src/bam/record.rs
github-actions / clippy
no field `isize_` on type `hts_sys::bam1_core_t`
error[E0609]: no field `isize_` on type `hts_sys::bam1_core_t`
--> src/bam/record.rs:294:31
|
294 | self.inner_mut().core.isize_ = insert_size;
| ^^^^^^ unknown field
|
help: a field with a similar name exists
|
294 | self.inner_mut().core.isize = insert_size;
| ~~~~~
Check failure on line 289 in src/bam/record.rs
github-actions / clippy
no field `isize_` on type `hts_sys::bam1_core_t`
error[E0609]: no field `isize_` on type `hts_sys::bam1_core_t`
--> src/bam/record.rs:289:27
|
289 | self.inner().core.isize_
| ^^^^^^ unknown field
|
help: a field with a similar name exists
|
289 | self.inner().core.isize
| ~~~~~
Check failure on line 156 in src/bam/record.rs
github-actions / clippy
mismatched types
error[E0308]: mismatched types
--> src/bam/record.rs:156:16
|
156 | m: sam_copy.len(),
| ^^^^^^^^^^^^^^ expected `u64`, found `usize`
Check failure on line 155 in src/bam/record.rs
github-actions / clippy
mismatched types
error[E0308]: mismatched types
--> src/bam/record.rs:155:16
|
155 | l: sam_copy.len(),
| ^^^^^^^^^^^^^^ expected `u64`, found `usize`