News for hackers. Stuff that matters.
Re:Mistakes with Rust smart pointers: when Deref goes wrong by tialaramex on Tuesday July 11, 2023 @04:06AM (#36677859)
It's not "just" syntax, so it couldn't "just" be a new edition, but I suppose it's conceivable that a hack could be invented and then the old behaviour grandfathered into prior editions as was done for impl IntoIterator for [T; N] in 2021 Edition.

That's a heavy lift though, you may need to carry this special code around in every compiler, forever, and I haven't even figured out what such code should look like, it might be really hard to even write it.

Re:Mistakes with Rust smart pointers: when Deref goes wrong by saghm on Tuesday July 11, 2023 @12:31PM (#36683395)
Good to know! I appreciate the insight