fasterthanlime , Englisch
@fasterthanlime@hachyderm.io avatar

Can someone hardcode in rust-analyzer that Future always comes from std::future::Future and not, like, futures_util::Future or something

ilmai ,
@ilmai@hachyderm.io avatar

@fasterthanlime same for std vs. portable_atomic please

jplatte ,
@jplatte@social.tchncs.de avatar

@fasterthanlime Yes, this so much! Fortunately even if this is somehow too hard to do in RA, edition 2024 will get rid of the requirement to import Future explicitly once it's out (if you can upgrade to it).

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@jplatte

> The Rust 2024 Edition is currently slated for release in Rust 1.82.0

can't wait!

Gottox ,
@Gottox@chaos.social avatar

@fasterthanlime

looks at C23

envies

artificialmind ,
@artificialmind@fosstodon.org avatar

@fasterthanlime if we're going down that route. I never want to complete .ne if a .new is available, thank you very much!

  • Alle
  • Abonniert
  • Moderiert
  • Favoriten
  • random
  • haupteingang
  • Alle Magazine