Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library

Comment by sophacles

1 year ago

Look at the linked code - it literally shows what happens in that case. What happens is not what you're saying.

2 comments

sophacles

Reply

umanwizard  1 year ago

This code compiles on 1.81 and fails to compile on 1.82: https://godbolt.org/z/9GbbMKjcf

  • estebank  1 year ago

    You are always free to use fully-qualified paths to protect yourself from any change in your dependencies (including std) that would break inference (by making more than one method resolve).

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities