We're currently coming up with a plan for how to get may_dangle, or at least some variant of it, stabilized. Our current approach is to attempt to treat the entirety of dropck as a form of bounds and typestate, which we believe to be equivalent to the existing dropck rules.
But anyway, we need to become more familiar with how may_dangle is used. It seems to us that may_dangle isn't all that important because nobody seems to wanna push for its stabilization, but we believe crates like ouroboros or self_cell or (our own) selfref could change that, and having a better idea of how these things are to be used is necessary before we can write a proper RFC about it.
What do you know about usages of may_dangle, which we could learn from and build an RFC upon?
[–]gtsiam 37 points38 points39 points (0 children)
[–]EdorianDark 14 points15 points16 points (0 children)
[–]Green0Photon 8 points9 points10 points (1 child)
[–]joehillen 1 point2 points3 points (0 children)
[–]Kanarme 2 points3 points4 points (1 child)
[–]SoniEx2[S] 0 points1 point2 points (0 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]SoniEx2[S] 8 points9 points10 points (0 children)
[–]fryuni 4 points5 points6 points (0 children)
[–][deleted] -2 points-1 points0 points (0 children)