3 ms·
Macros, Safety, and SOA
- deleted 2y ago[deleted]
- deltragon 2y ago> I regret having to sacrifice API design to satisfy something of a corner case usage. A possible future alternative would be to bound the macro in some way on Freeze, once that is stabilised. See the RFC for details: https://github.com/rust-lang/rfcs/pull/3633 https://github.com/rust-lang/rfcs/pull/3633 This would of course be a tradeoff again, as it would disallow interior mutability then.