rust@octodon.social ("Rust tips") wrote:
"Unfortunately" this doesn't generalize to all attributes, so you can't have a cursed syntax like that:
struct Lol { #!\[derive(Copy, Clone, Debug)\] } fn nope() { #!\[test\] }
rust@octodon.social ("Rust tips") wrote:
"Unfortunately" this doesn't generalize to all attributes, so you can't have a cursed syntax like that:
struct Lol { #!\[derive(Copy, Clone, Debug)\] } fn nope() { #!\[test\] }