Reports variable patterns that shadow stable identifiers defined in the enclosing scope.
To perform an equality test against that value, use backticks.
Example:
val foo = 0
0 match {
case foo =>
}
After the quick-fix is applied:
val foo = 0
0 match {
case `foo` =>
}