Когда Rust снова ругается
так бля епта, тут .borrow() возвращает Ref<Option<T>>, хуе-мое, блядь, делаем .and_then(), потом .map() error: cannot return value referencing temporary value ? x ... тааак падажжи ебана
Лысый программист курит и в отчаянии смотрит на экран с кодом на Rust, который выдаёт ошибку времени жизни ссылки. Шутка высмеивает сложность borrow checker и типичную реакцию разработчика, когда после нескольких попыток исправления ошибка всё ещё остаётся. Такой мем отправляют как реакцию на мучительную отладку и непонятные сообщения компилятора. EN: A bald programmer smokes and stares in despair at a screen showing Rust code with a temporary-reference lifetime error. The joke mocks the complexity of the borrow checker and the typical developer reaction when the error remains after several attempts to fix it. This meme is used as a reaction to painful debugging and incomprehensible compiler messages.
- @profunctor_io / 3982 2020-02-06
- Type
- image
- Size
- 680×800 · 87.5 KiB
- Mood
- frustrated, sarcastic
- Language
- ru
- Added