Me: *makes a compiler error* rustc: If I may have your attention for a moment, the paradigm through which you were operating must have been flawed because a lapse of judgement occurred on your part which you can see explained in this book. Me: *runtime panic* libstd: fuck you
-
-
When I saw the original tweet I thought of the same thing but now I'm wondering if we could add feature flags in the std... That way we could have allocating version of IO errors in an opt-in basis...

-
This would be nice tbh? Could also just have io::Error have a lifetime dependency on the path that was given to the function that failed


- 1 more reply
New conversation -
-
-
I'd totally take a slowdown in the error case if that made the error case actually helpful :D
-
So would most, but we have to cater to all.
- 8 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.