Add a lint for not using field pattern shorthands

Closes #17792.
This would be more efficient with the `is_shorthand` check first.