summaryrefslogtreecommitdiff
path: root/test/files/neg/t6375.check
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2013-01-14 15:41:20 -0800
committerPaul Phillips <paulp@improving.org>2013-01-14 15:46:25 -0800
commitf98ccad8d59c6e63a7e4e984f18c3e2b39ed0b68 (patch)
treec1deefa7ba184a09b3adddad183123957983a8ad /test/files/neg/t6375.check
parent61f70e48cecddf27fba162c165dfaf712c84278c (diff)
downloadscala-f98ccad8d59c6e63a7e4e984f18c3e2b39ed0b68.tar.gz
scala-f98ccad8d59c6e63a7e4e984f18c3e2b39ed0b68.tar.bz2
scala-f98ccad8d59c6e63a7e4e984f18c3e2b39ed0b68.zip
Tweaked meta-annotation error based on feedback.
Diffstat (limited to 'test/files/neg/t6375.check')
-rw-r--r--test/files/neg/t6375.check16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/files/neg/t6375.check b/test/files/neg/t6375.check
index b94a067cbb..89d7d8060f 100644
--- a/test/files/neg/t6375.check
+++ b/test/files/neg/t6375.check
@@ -1,25 +1,25 @@
-t6375.scala:6: warning: Annotation is unused - it can be retained with a meta-annotation such as @(Bippy @getter)
+t6375.scala:6: warning: no valid targets for annotation on value x1 - it is discarded unused. You may specify targets with meta-annotations, e.g. @(Bippy @getter)
@Bippy val x1: Int // warn
^
-t6375.scala:7: warning: Annotation is unused - it can be retained with a meta-annotation such as @(Bippy @scala.annotation.meta.field @getter)
+t6375.scala:7: warning: no valid targets for annotation on value x2 - it is discarded unused. You may specify targets with meta-annotations, e.g. @(Bippy @scala.annotation.meta.field @getter)
@(Bippy @field) val x2: Int // warn
^
-t6375.scala:9: warning: Annotation is unused - it can be retained with a meta-annotation such as @(Bippy @scala.annotation.meta.setter @getter)
+t6375.scala:9: warning: no valid targets for annotation on value x4 - it is discarded unused. You may specify targets with meta-annotations, e.g. @(Bippy @scala.annotation.meta.setter @getter)
@(Bippy @setter) val x4: Int // warn
^
-t6375.scala:10: warning: Annotation is unused - it can be retained with a meta-annotation such as @(Bippy @scala.annotation.meta.param @getter)
+t6375.scala:10: warning: no valid targets for annotation on value x5 - it is discarded unused. You may specify targets with meta-annotations, e.g. @(Bippy @scala.annotation.meta.param @getter)
@(Bippy @param) val x5: Int // warn
^
-t6375.scala:20: warning: Annotation is unused - it can be retained with a meta-annotation such as @(Bippy @scala.annotation.meta.getter @field)
+t6375.scala:20: warning: no valid targets for annotation on value q1 - it is discarded unused. You may specify targets with meta-annotations, e.g. @(Bippy @scala.annotation.meta.getter @field)
@(Bippy @getter) private[this] val q1: Int = 1 // warn
^
-t6375.scala:40: warning: Annotation is unused - it can be retained with a meta-annotation such as @(Bippy @scala.annotation.meta.getter @param)
+t6375.scala:40: warning: no valid targets for annotation on value p2 - it is discarded unused. You may specify targets with meta-annotations, e.g. @(Bippy @scala.annotation.meta.getter @param)
@(Bippy @getter) p2: Int, // warn
^
-t6375.scala:41: warning: Annotation is unused - it can be retained with a meta-annotation such as @(Bippy @scala.annotation.meta.setter @param)
+t6375.scala:41: warning: no valid targets for annotation on value p3 - it is discarded unused. You may specify targets with meta-annotations, e.g. @(Bippy @scala.annotation.meta.setter @param)
@(Bippy @setter) p3: Int, // warn
^
-t6375.scala:42: warning: Annotation is unused - it can be retained with a meta-annotation such as @(Bippy @scala.annotation.meta.field @param)
+t6375.scala:42: warning: no valid targets for annotation on value p4 - it is discarded unused. You may specify targets with meta-annotations, e.g. @(Bippy @scala.annotation.meta.field @param)
@(Bippy @field) p4: Int // warn
^
error: No warnings can be incurred under -Xfatal-warnings.