fcp icon indicating copy to clipboard operation
fcp copied to clipboard

chore: update to build with rust 1.80

Open chenrui333 opened this issue 6 months ago • 0 comments

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 https://github.com/Homebrew/homebrew-core/pull/178436

chenrui333 avatar Aug 01 '24 21:08 chenrui333