Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: update for clippy box error #897

Merged
merged 2 commits into from
Jul 30, 2024
Merged

ci: update for clippy box error #897

merged 2 commits into from
Jul 30, 2024

Conversation

de-sh
Copy link
Contributor

@de-sh de-sh commented Jul 30, 2024

Get's rid of the following error:

    Checking time v0.3.34
error[E0282]: type annotations needed for `Box<_>`
  --> /home/devdutt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/time-0.3.34/src/format_description/parse/mod.rs:83:9
   |
83 |     let items = format_items
   |         ^^^^^
...
86 |     Ok(items.into())
   |              ---- type must be known at this point
   |
help: consider giving `items` an explicit type, where the placeholders `_` are specified
   |
83 |     let items: Box<_> = format_items
   |              ++++++++

For more information about this error, try `rustc --explain E0282`.
error: could not compile `time` (lib) due to 1 previous error

Type of change

Checklist:

  • Formatted with cargo fmt
  • Make an entry to CHANGELOG.md if it's relevant to the users of the library. If it's not relevant mention why.

@de-sh de-sh merged commit f211241 into main Jul 30, 2024
2 of 3 checks passed
@de-sh de-sh deleted the clippy branch July 30, 2024 08:58
@coveralls
Copy link

Pull Request Test Coverage Report for Build 10159251951

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall first build on clippy at 36.138%

Totals Coverage Status
Change from base Build 9675366490: 36.1%
Covered Lines: 5970
Relevant Lines: 16520

💛 - Coveralls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants