Is there any way to get all categories of -Wconf

When I do =sbt Bump Scala version to 2.12.17 & 2.13.10, sbt to 1.7.2 by He-Pin · Pull Request #31648 · akka/akka · GitHub , I never now what the lint-infer-any is , so is there way to get all the available categories of wconf? thanks.

Try scalac -Wconf:help

just tried, I just know verbose will show something, maybe that’s the only way?

The categories are different for Scala 2/3. Much like error IDs (there was a ticket for error 54, like the famous disco) which disappear for historical reasons.

As mentioned, -Wconf:help lists them. The conscientious author made the help text version-specific.