From: Chris Morgan Date: Tue, 25 Jan 2022 02:06:15 +0000 (+1100) Subject: Unravel the parbroken define! macro X-Git-Tag: 1.0.0-beta.1~21 X-Git-Url: https://git.chrismorgan.info/anymap/commitdiff_plain/0656f182894b8f7c5c172b6f762c922e1a8b4ed9?hp=0656f182894b8f7c5c172b6f762c922e1a8b4ed9 Unravel the parbroken define! macro Turns out its commenting technique was completely broken—the attributes have to be attached to an item *inside* the macro, not outside. And judging by https://docs.rs/anymap/0.11.0/anymap/any/trait.CloneAny.html, it was broken from the start, and I never noticed. Sigh. Now, you get a warning that it’s not going to work like you want. Good stuff. Well, that macro wasn’t a great idea anyway. Doing without it ends up a little longer, and risks inconsistent editing, but is decidedly easier to read. ---