Warn if variable is used both as a function (function literal) and as a variable
This is harder than just checking for used variables as a function literal can be used as an argument to a function or module which currently shows up as a used variable.