This is an automated email from the ASF dual-hosted git repository.

He-Pin pushed a commit to branch pr-3065
in repository https://gitbox.apache.org/repos/asf/pekko.git

commit 62eefabd1ff940865a086fc9057ce948baab37a6
Author: 虎鸣 <[email protected]>
AuthorDate: Mon Jun 15 19:59:16 2026 +0800

    fix: remove invalid Scala 2.13 -Wconf category unused-explicits from docs 
suppressions
    
    Motivation:
    The docsScala2Suppressions list included cat=unused-explicits:s which is
    a Scala 3-only -Wconf category. Scala 2.13 does not recognize this
    category, causing a -Wconf parse failure that prevents all other
    suppressions from taking effect. This results in "Unused import" and
    "is never used" warnings becoming errors in docs test compilation.
    
    Modification:
    Remove the -Wconf:cat=unused-explicits:s entry from docsScala2Suppressions.
    The message-based pattern msg=is never used:s already covers unused
    explicit parameter warnings in Scala 2.13.
    
    Result:
    The -Wconf configuration for docs projects parses successfully on Scala
    2.13, and all intended warning suppressions take effect.
    
    Tests:
    Not run - build configuration change validated by CI
    
    References:
    Refs #3065
---
 project/PekkoDisciplinePlugin.scala | 1 -
 1 file changed, 1 deletion(-)

diff --git a/project/PekkoDisciplinePlugin.scala 
b/project/PekkoDisciplinePlugin.scala
index aa9990bcee..5de9f4c73f 100644
--- a/project/PekkoDisciplinePlugin.scala
+++ b/project/PekkoDisciplinePlugin.scala
@@ -121,7 +121,6 @@ object PekkoDisciplinePlugin extends AutoPlugin {
     "-Wconf:cat=unused-pat-vars:s",
     "-Wconf:cat=unused-params:s",
     "-Wconf:cat=unused-privates:s",
-    "-Wconf:cat=unused-explicits:s",
     "-Wconf:msg=Unused import:s",
     "-Wconf:msg=is never used:s",
     "-Wconf:cat=deprecation:s",


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to