Comment by IshKebab

9 hours ago

Seems like an easy win! I'm kind of surprised nobody did this already. I guess someone will need to reimplement this by hand given Rust's AI policy, but this is still great because it demonstrates that it's a really good idea.

Rust has been taking steps in this direction for several years now, having first added pipelining via eager metadata emission in 2019: https://news.ycombinator.com/item?id=49924257 , but there remain some decisions to be made regarding what to do when encountering errors in crates that were speculatively approved.

  • Uhm... emit the errors and fail the compilation? What else would you do?

    Maybe there's some work to do to make that happen cleanly but the desired behaviour seems pretty obvious.