Frontend: build #149
GitHub Actions / clippy
failed
May 15, 2024 in 0s
clippy
2 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 2 |
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 115 in backend/src/handler/frontend.rs
github-actions / clippy
the trait bound `handler::frontend::IndexTemplate: askama::Template` is not satisfied
error[E0277]: the trait bound `handler::frontend::IndexTemplate: askama::Template` is not satisfied
--> backend/src/handler/frontend.rs:115:59
|
115 | let mut resp = askama_axum::into_response(&template);
| -------------------------- ^^^^^^^^^ the trait `askama::Template` is not implemented for `handler::frontend::IndexTemplate`
| |
| required by a bound introduced by this call
|
note: required by a bound in `askama_axum::into_response`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/askama_axum-0.3.0/src/lib.rs:9:25
|
9 | pub fn into_response<T: Template>(t: &T) -> Response {
| ^^^^^^^^ required by this bound in `into_response`
Check failure on line 115 in backend/src/handler/frontend.rs
github-actions / clippy
the trait bound `handler::frontend::IndexTemplate: askama::Template` is not satisfied
error[E0277]: the trait bound `handler::frontend::IndexTemplate: askama::Template` is not satisfied
--> backend/src/handler/frontend.rs:115:59
|
115 | let mut resp = askama_axum::into_response(&template);
| -------------------------- ^^^^^^^^^ the trait `askama::Template` is not implemented for `handler::frontend::IndexTemplate`
| |
| required by a bound introduced by this call
|
note: required by a bound in `askama_axum::into_response`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/askama_axum-0.3.0/src/lib.rs:9:25
|
9 | pub fn into_response<T: Template>(t: &T) -> Response {
| ^^^^^^^^ required by this bound in `into_response`
Loading