Issue7526 attempt to catch non uppercase statics in match patterns

r? anyone

Address scariest part of #7526 by adding a new more specific lint (that is set to warn by default, rather than allow).