uz
Feedback

Firibgarlarga uchmang! Telemetrio bunday kanallarni topadi va belgilaydi 👉 Belgini ko‘rmoqchi bo‘lsangiz, obuna bo‘ling

Awful Rust snippets for fun and profit

Awful Rust snippets for fun and profit

Kanalga Telegram’da o‘tish

seen something awful and want to post it here? send it to @goldsteinq

Ko'proq ko'rsatish
220
Obunachilar
Ma'lumot yo'q24 soatlar
Ma'lumot yo'q7 kun
Ma'lumot yo'q30 kun
Postlar arxiv
implicit use of a trait we’re currently implementing leaks through a module bonus points to anyone who finds any related docu
implicit use of a trait we’re currently implementing leaks through a module bonus points to anyone who finds any related documentation (please tell me in the comments if you do!) playground thanks to @kanashimia for showing me this (also yay 200 subscribers!)
17 Okt 2023, 05:00

oh, and also I published this one trick as a crate: https://github.com/GoldsteinE/dyngo
23 Sen 2023, 10:32

it’s possible to work around the “bounds with different associated types are not considered disjoint” limitation by using a h
it’s possible to work around the “bounds with different associated types are not considered disjoint” limitation by using a helper trait thanks to the Marin Veršić, author of the disjoint_impls crate for publishing this trick! playground rust-lang/rust issue
23 Sen 2023, 10:28

useful in macro expansions / codegen playground similar trick ICEd on 1.59: Rust issue
useful in macro expansions / codegen playground similar trick ICEd on 1.59: Rust issue
12 Iyul 2023, 08:36

I wrote a longish post about this one since snippet alone doesn’t explain it well Post: deref specialization in const contexts
09 Iyul 2023, 13:04