Adding a new warning -Wterm-variable-capture.
This MR introduces a new warning that allows a user to check his code for further compatibility with a proposed extension RequiredTypeArguments
introduced in 0281.
The warning highlights implicitly quantified type variables that have a name already used by a term:
a = 42
f :: a -> a
This MR fixes #22513 (closed)