this post was submitted on 09 Jun 2025
194 points (94.1% liked)

Programmer Humor

24709 readers
378 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] verstra@programming.dev 73 points 3 weeks ago (5 children)

Have you erased the continuation of the message that is saying something about "similar names, but are actually two distinct types"?

It is a common error if you have two dependecies that export the same third dependency and your code makes an assumption that the versions of the third dep match.

All other languages either straight-up don't support multiple versions of the same dep, or throw random errors at runtime. So this message is a consequence of rust supporting things that other langs only dream of.

[–] Aurenkin@sh.itjust.works 26 points 3 weeks ago (3 children)

I enjoyed the joke but yeah I thought Rust was known for quite good error messages in general. I haven't used it though myself.

[–] nous@programming.dev 17 points 3 weeks ago (1 children)

The problem is ides inlining only part of the error and generally skip all the helpful text on how to fix the error.

[–] ulterno@programming.dev 2 points 3 weeks ago

Expansion dropdowns are nice.They make it easier to fit in many errors in a small widget
and provide the user the option to see the rest of the error right there.
Then you have the option in the context menu to go to the actual error text.
I expect these things to be basically available in my IDE

load more comments (1 replies)
load more comments (2 replies)