Skip to content

Conversation

chenrui333
Copy link

seeing some time related failure

error[E0282]: type annotations needed
  --> src/main.rs:27:44
   |
27 |     let args: Box<_> = env::args().skip(1).collect();
   |                                            ^^^^^^^ cannot infer type of the type parameter `B` declared on the method `collect`
28 |     for arg in args.iter() {
   |                     ---- type must be known at this point
   |
help: consider specifying the generic argument
   |
27 |     let args: Box<_> = env::args().skip(1).collect::<Vec<_>>();
   |                                                   ++++++++++
 
For more information about this error, try `rustc --explain E0282`.

relates to Homebrew/homebrew-core#178436

Signed-off-by: Rui Chen <rui@chenrui.dev>
Signed-off-by: Rui Chen <rui@chenrui.dev>
Signed-off-by: Rui Chen <rui@chenrui.dev>
fornwall added a commit to termux/termux-packages that referenced this pull request Aug 15, 2024
fornwall added a commit to termux/termux-packages that referenced this pull request Aug 15, 2024
termux-pacman-bot added a commit to termux-pacman/termux-packages that referenced this pull request Aug 15, 2024
@kyontan
Copy link

kyontan commented Feb 5, 2025

Thanks for the PR!

For whom need the pre-built binary, I forked this repo and released to GitHub.
https://github.com/kyontan/fcp/releases/tag/v0.3.0

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