summaryrefslogtreecommitdiff
path: root/test/files/neg/warn-unused-implicits.check
blob: 4cc5836800066e80e884ab2a47ebe72c87d4094c (plain) (blame)
1
2
3
4
5
6
7
8
9
warn-unused-implicits.scala:11: warning: parameter value s in method f is never used
       )(implicit s: String): Int = {  // warn
                  ^
warn-unused-implicits.scala:31: warning: parameter value s in method i is never used
  def i(implicit s: String, t: Int) = t           // yes, warn
                 ^
error: No warnings can be incurred under -Xfatal-warnings.
two warnings found
one error found