Bump MSRV to 1.70 #53
GitHub Actions / clippy
succeeded
Jan 29, 2025 in 0s
clippy
2 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 2 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.84.0 (9fc6b4312 2025-01-07)
- cargo 1.84.0 (66221abde 2024-11-19)
- clippy 0.1.84 (9fc6b43126 2025-01-07)
Annotations
Check warning on line 254 in src/lib.rs
github-actions / clippy
the following explicit lifetimes could be elided: 'a
warning: the following explicit lifetimes could be elided: 'a
--> src/lib.rs:254:6
|
254 | impl<'a> ApiEndpoint for ListMovies<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
254 - impl<'a> ApiEndpoint for ListMovies<'a> {
254 + impl ApiEndpoint for ListMovies<'_> {
|
Check warning on line 101 in src/lib.rs
github-actions / clippy
large size difference between variants
warning: large size difference between variants
--> src/lib.rs:98:1
|
98 | / pub enum Data {
99 | | MovieList(MovieList),
| | -------------------- the second-largest variant contains at least 40 bytes
100 | | MovieDetails(MovieDetail),
| | ------------------------- the largest variant contains at least 736 bytes
101 | | }
| |_^ the entire enum is at least 736 bytes
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#large_enum_variant
= note: `#[warn(clippy::large_enum_variant)]` on by default
help: consider boxing the large fields to reduce the total size of the enum
|
100 | MovieDetails(Box<MovieDetail>),
| ~~~~~~~~~~~~~~~~
Loading