Skip to content

feat(extract): add comment to header #7

feat(extract): add comment to header

feat(extract): add comment to header #7

GitHub Actions / clippy failed Nov 1, 2023 in 0s

clippy

1 error

Details

Results

Message level Amount
Internal compiler error 0
Error 1
Warning 0
Note 0
Help 0

Versions

  • rustc 1.73.0 (cc66ad468 2023-10-03)
  • cargo 1.73.0 (9c4383fb5 2023-08-26)
  • clippy 0.1.73 (cc66ad4 2023-10-03)

Annotations

Check failure on line 61 in src/extract.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

no function or associated item named `new` found for struct `noodles_sam::header::record::value::Map<noodles_sam::header::record::value::map::Program>` in the current scope

error[E0599]: no function or associated item named `new` found for struct `noodles_sam::header::record::value::Map<noodles_sam::header::record::value::map::Program>` in the current scope
  --> src/extract.rs:61:35
   |
61 |     let program = Map::<Program>::new();
   |                                   ^^^ function or associated item not found in `Map<Program>`
   |
   = note: the function or associated item was found for
           - `noodles_sam::header::record::value::Map<noodles_sam::header::record::value::map::Header>`
           - `noodles_sam::header::record::value::Map<noodles_sam::header::record::value::map::ReferenceSequence>`