Reports expressions whose value is not used.

Expressions that have side-effects or divert the control flow are not reported.

Example:


  def test(): Int = {
    3 // unused
    3
  }

After the quick-fix is applied:


  def test(): Int = {
    3
  }