This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
Replace is_valid with refactored version #1001
Annotations
2 errors and 2 warnings
no variant or associated item named `from_str` found for enum `VdjChain` in the current scope:
vdj_ann/src/transcript.rs#L267
error[E0599]: no variant or associated item named `from_str` found for enum `VdjChain` in the current scope
--> vdj_ann/src/transcript.rs:267:32
|
267 | .map(|chain| VdjChain::from_str(chain).unwrap())
| ^^^^^^^^ variant or associated item not found in `VdjChain`
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
5 | use std::str::FromStr;
|
|
rust
Clippy had exited with the 101 exit code
|
rust
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3, 10XGenomics/clippy-check@main. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
calling `set_len()` immediately after reserving a buffer creates uninitialized values:
vector_utils/src/lib.rs#L490
warning: calling `set_len()` immediately after reserving a buffer creates uninitialized values
--> vector_utils/src/lib.rs:490:5
|
490 | x.reserve(n);
| ^^^^^^^^^^^^^
491 | x.set_len(n); /* unsafe */
| ^^^^^^^^^^^^
|
= help: initialize the buffer or wrap the content in `MaybeUninit`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninit_vec
note: the lint level is defined here
--> vector_utils/src/lib.rs:487:8
|
487 | #[warn(clippy::uninit_vec)]
| ^^^^^^^^^^^^^^^^^^
|