bayne / dot-http

dot-http is a text-based scriptable HTTP client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Publish new release?

5225225 opened this issue · comments

commented

Hello!

I'm coming to this project from rust-lang/rust#99389 , where some stricter checks of creation of uninitialized data is being tested out, and the crates.io version of this crate ran into the checks. It looks like 0.2.0 on crates.io has out of date dependencies, eventually leading to an out of date smallvec.

I tested the proposed change on master, and it ran fine, so the only thing that's needed is a new release to be made.

Compiling the published crate using rust stable results in

...
   Compiling Boa v0.5.1
error[E0282]: type annotations needed
  --> /home/jayvdb/.cargo/registry/src/index.crates.io-6f17d22bba15001f/Boa-0.5.1/src/lib/builtins/array.rs:23:11
   |
23 |     array.borrow().set_internal_slot(
   |           ^^^^^^   ----------------- type must be known at this point
   |
help: try using a fully qualified path to specify the expected types
   |
23 |     <Gc<ValueData> as Borrow<Borrowed>>::borrow(&array).set_internal_slot(
   |     +++++++++++++++++++++++++++++++++++++++++++++     ~

Doesnt occur when installing from the repo.