Add parsing to finished Changelog object #9
GitHub Actions / clippy
failed
Aug 14, 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-nightly (1b198b3a1 2023-08-13)
- cargo 1.73.0-nightly (7e9de3f4e 2023-08-13)
- clippy 0.1.73 (1b198b3 2023-08-13)
Annotations
Check failure on line 57 in crates/lib/src/changelog.rs
github-actions / clippy
the `Err`-variant returned from this function is very large
error: the `Err`-variant returned from this function is very large
--> crates/lib/src/changelog.rs:57:32
|
54 | Pest(pest::error::Error<Rule>),
| ------------------------------ the largest variant contains at least 184 bytes
...
57 | pub fn parse(content: &str) -> Result<Changelog, ChangelogParseError> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: try reducing the size of `changelog::ChangelogParseError`, for example by boxing large elements or replacing it with `Box<changelog::ChangelogParseError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
= note: `-D clippy::result-large-err` implied by `-D warnings`
Loading