Basically, instead of trying to check for specific kinds of statements, just check the types of all local variables. Also included are some commented-out proposals for some slightly more aggressive lints which might be useful (but trigger a little too frequently at the moment). Source-Repo: https://github.com/servo/servo Source-Revision: bb88832c078fbb14fa03c413fac1252b2b755015