How Go detects struct copies with sync.noCopy

1 points by rrm


colonelpanic

It's clever I guess, but I think reliance on this kind of Rube-Goldberg contraption to trick your tooling into safety validation is an anti-pattern. This is something the compiler should be doing.