Reports chained conversions of a sequence to Set and back, and suggests replacing them with .distinct call.
Set
.distinct
Example:
Seq(1).toSet.toSeq List(1).toSet.toList
After the quick-fix is applied:
Seq(1).distinct List(1).distinct