summaryrefslogtreecommitdiff
path: root/test/files/neg
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg')
-rw-r--r--test/files/neg/checksensible.check2
-rw-r--r--test/files/neg/t7783.check10
2 files changed, 6 insertions, 6 deletions
diff --git a/test/files/neg/checksensible.check b/test/files/neg/checksensible.check
index 7de22fef54..a6e9176c69 100644
--- a/test/files/neg/checksensible.check
+++ b/test/files/neg/checksensible.check
@@ -97,7 +97,7 @@ checksensible.scala:84: warning: comparing values of types EqEqRefTest.this.C3 a
checksensible.scala:95: warning: comparing values of types Unit and Int using `!=' will always yield true
while ((c = in.read) != -1)
^
-warning: there were three deprecation warnings; re-run with -deprecation for details
+warning: there were three deprecation warnings (since 2.11.0); re-run with -deprecation for details
error: No warnings can be incurred under -Xfatal-warnings.
34 warnings found
one error found
diff --git a/test/files/neg/t7783.check b/test/files/neg/t7783.check
index 18dc84a8db..647cfee121 100644
--- a/test/files/neg/t7783.check
+++ b/test/files/neg/t7783.check
@@ -1,16 +1,16 @@
-t7783.scala:1: warning: type D in object O is deprecated (since ):
+t7783.scala:1: warning: type D in object O is deprecated:
object O { class C; @deprecated("", "") type D = C; def foo: Seq[D] = Nil }
^
-t7783.scala:11: warning: type D in object O is deprecated (since ):
+t7783.scala:11: warning: type D in object O is deprecated:
type T = O.D
^
-t7783.scala:12: warning: type D in object O is deprecated (since ):
+t7783.scala:12: warning: type D in object O is deprecated:
locally(null: O.D)
^
-t7783.scala:13: warning: type D in object O is deprecated (since ):
+t7783.scala:13: warning: type D in object O is deprecated:
val x: O.D = null
^
-t7783.scala:14: warning: type D in object O is deprecated (since ):
+t7783.scala:14: warning: type D in object O is deprecated:
locally(null.asInstanceOf[O.D])
^
error: No warnings can be incurred under -Xfatal-warnings.