rustc: Add lint for misplaced attributes
Remove unused attributes

This also enables two tests properly.
syntax: Remove check for auto_{en,de}code usage

Now lint does it.