|
1 |
| --- [E157] Reference Error: tests/neg-custom-args/fatal-warnings/i4008.scala:6:6 ---------------------------------------- |
2 |
| -6 |class ShouldWarn1[A] // error |
3 |
| - | ^ |
4 |
| - | Invalid reference to a type variable "B" found |
5 |
| - | in the user-defined error message "An implicit ShouldWarn1[${B}] is not in scope" |
6 |
| - | in the @implicitNotFound annotation argument. |
7 |
| - | |
8 |
| - | The variable does not occur in the signature of ShouldWarn1. |
9 |
| --- [E157] Reference Error: tests/neg-custom-args/fatal-warnings/i4008.scala:10:6 --------------------------------------- |
10 |
| -10 |trait ShouldWarn2[B] // error |
11 |
| - | ^ |
12 |
| - | Invalid reference to a type variable "A" found |
13 |
| - | in the user-defined error message "An implicit ShouldWarn2[${A}] is not in scope" |
14 |
| - | in the @implicitNotFound annotation argument. |
15 |
| - | |
16 |
| - | The variable does not occur in the signature of ShouldWarn2. |
17 |
| --- [E157] Reference Error: tests/neg-custom-args/fatal-warnings/i4008.scala:14:6 --------------------------------------- |
18 |
| -14 |trait ShouldWarn3[B, C] // error |
19 |
| - | ^ |
20 |
| - | Invalid reference to a type variable "A" found |
21 |
| - | in the user-defined error message "An implicit ShouldWarn3[${A},${B}] is not in scope" |
22 |
| - | in the @implicitNotFound annotation argument. |
23 |
| - | |
24 |
| - | The variable does not occur in the signature of ShouldWarn3. |
25 |
| --- [E157] Reference Error: tests/neg-custom-args/fatal-warnings/i4008.scala:18:6 --------------------------------------- |
26 |
| -18 |class ShouldWarn4[C, D] // error |
27 |
| - | ^ |
28 |
| - | Invalid reference to a type variable "A" found |
29 |
| - | in the user-defined error message "An implicit ShouldWarn4[${A},${B}] is not in scope" |
30 |
| - | in the @implicitNotFound annotation argument. |
31 |
| - | |
32 |
| - | The variable does not occur in the signature of ShouldWarn4. |
33 |
| --- [E157] Reference Error: tests/neg-custom-args/fatal-warnings/i4008.scala:22:6 --------------------------------------- |
34 |
| -22 |class ShouldWarn5[C, D] // error |
35 |
| - | ^ |
36 |
| - | Invalid reference to a type variable "Abc" found |
37 |
| - | in the user-defined error message "An implicit ShouldWarn5[${C},${Abc}] is not in scope" |
38 |
| - | in the @implicitNotFound annotation argument. |
39 |
| - | |
40 |
| - | The variable does not occur in the signature of ShouldWarn5. |
| 1 | +-- [E157] Reference Error: tests/neg-custom-args/fatal-warnings/i4008.scala:5:29 --------------------------------------- |
| 2 | +5 |@annotation.implicitNotFound("An implicit ShouldWarn1[${B}] is not in scope") // error |
| 3 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 4 | + | Invalid reference to a type variable "B" found in the annotation argument. |
| 5 | + | The variable does not occur in the signature of ShouldWarn1. |
| 6 | +-- [E157] Reference Error: tests/neg-custom-args/fatal-warnings/i4008.scala:9:29 --------------------------------------- |
| 7 | +9 |@annotation.implicitNotFound("An implicit ShouldWarn2[${A}] is not in scope") // error |
| 8 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 9 | + | Invalid reference to a type variable "A" found in the annotation argument. |
| 10 | + | The variable does not occur in the signature of ShouldWarn2. |
| 11 | +-- [E157] Reference Error: tests/neg-custom-args/fatal-warnings/i4008.scala:13:29 -------------------------------------- |
| 12 | +13 |@annotation.implicitNotFound("An implicit ShouldWarn3[${A},${B}] is not in scope") // error |
| 13 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 14 | + | Invalid reference to a type variable "A" found in the annotation argument. |
| 15 | + | The variable does not occur in the signature of ShouldWarn3. |
| 16 | +-- [E157] Reference Error: tests/neg-custom-args/fatal-warnings/i4008.scala:17:29 -------------------------------------- |
| 17 | +17 |@annotation.implicitNotFound("An implicit ShouldWarn4[${A},${B}] is not in scope") // error |
| 18 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 19 | + | Invalid reference to a type variable "A" found in the annotation argument. |
| 20 | + | The variable does not occur in the signature of ShouldWarn4. |
| 21 | +-- [E157] Reference Error: tests/neg-custom-args/fatal-warnings/i4008.scala:21:29 -------------------------------------- |
| 22 | +21 |@annotation.implicitNotFound("An implicit ShouldWarn5[${C},${Abc}] is not in scope") // error |
| 23 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 24 | + | Invalid reference to a type variable "Abc" found in the annotation argument. |
| 25 | + | The variable does not occur in the signature of ShouldWarn5. |
0 commit comments