stable-diffusion
6 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 6 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.75.0-nightly (608e9682f 2023-10-29)
- cargo 1.75.0-nightly (708383d62 2023-10-27)
- clippy 0.1.75 (608e968 2023-10-29)
Annotations
Check warning on line 117 in src/lib.rs
github-actions / stable-diffusion
useless conversion to the same type: `ort::CUDAExecutionProviderOptions`
warning: useless conversion to the same type: `ort::CUDAExecutionProviderOptions`
--> src/lib.rs:117:8
|
117 | ..options.into()
| ^^^^^^^^^^^^^^ help: consider removing `.into()`: `options`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
note: the lint level is defined here
--> src/lib.rs:52:50
|
52 | #![warn(clippy::correctness, clippy::suspicious, clippy::complexity, clippy::perf, clippy::style)]
| ^^^^^^^^^^^^^^^^^^
= note: `#[warn(clippy::useless_conversion)]` implied by `#[warn(clippy::complexity)]`
Check warning on line 22 in src/pipelines/stable_diffusion/impl_img2img.rs
github-actions / stable-diffusion
missing documentation for a struct field
warning: missing documentation for a struct field
--> src/pipelines/stable_diffusion/impl_img2img.rs:22:2
|
22 | pub text_config: StableDiffusionTxt2ImgOptions
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Check warning on line 21 in src/pipelines/stable_diffusion/impl_img2img.rs
github-actions / stable-diffusion
missing documentation for a struct field
warning: missing documentation for a struct field
--> src/pipelines/stable_diffusion/impl_img2img.rs:21:2
|
21 | pub preprocessing: ImagePreprocessing,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Check warning on line 20 in src/pipelines/stable_diffusion/impl_img2img.rs
github-actions / stable-diffusion
missing documentation for a struct field
warning: missing documentation for a struct field
--> src/pipelines/stable_diffusion/impl_img2img.rs:20:2
|
20 | pub noise_strength: f32,
| ^^^^^^^^^^^^^^^^^^^^^^^
Check warning on line 19 in src/pipelines/stable_diffusion/impl_img2img.rs
github-actions / stable-diffusion
missing documentation for a struct field
warning: missing documentation for a struct field
--> src/pipelines/stable_diffusion/impl_img2img.rs:19:2
|
19 | pub reference_image: Array4<f32>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: the lint level is defined here
--> src/lib.rs:50:9
|
50 | #![warn(missing_docs)]
| ^^^^^^^^^^^^
Check warning on line 117 in src/lib.rs
github-actions / stable-diffusion
useless conversion to the same type: `ort::CUDAExecutionProviderOptions`
warning: useless conversion to the same type: `ort::CUDAExecutionProviderOptions`
--> src/lib.rs:117:8
|
117 | ..options.into()
| ^^^^^^^^^^^^^^ help: consider removing `.into()`: `options`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
note: the lint level is defined here
--> src/lib.rs:52:50
|
52 | #![warn(clippy::correctness, clippy::suspicious, clippy::complexity, clippy::perf, clippy::style)]
| ^^^^^^^^^^^^^^^^^^
= note: `#[warn(clippy::useless_conversion)]` implied by `#[warn(clippy::complexity)]`