File: explerror.stderr

package info (click to toggle)
rust-derive-deftly 1.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,652 kB
  • sloc: perl: 1,032; sh: 373; python: 227; makefile: 11
file content (116 lines) | stat: -rw-r--r-- 4,029 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
error: basic (in this field)
  --> ui/explerror.rs:6:5
   |
6  |       field: usize,
   |       ^^^^^
...
9  | / derive_deftly_adhoc! {
10 | |     Struct:
11 | |     ${for fields { ${error "basic"}} }
12 | | }
   | |_- in this macro invocation
   |
   = note: this error originates in the macro `derive_deftly_driver_Struct` which comes from the expansion of the macro `derive_deftly_adhoc` (in Nightly builds, run with -Z macro-backtrace for more info)

error: basic (template error message)
  --> ui/explerror.rs:11:28
   |
11 |     ${for fields { ${error "basic"}} }
   |                            ^^^^^^^

error: just message (in this data structure)
  --> ui/explerror.rs:4:1
   |
4  |   #[derive_deftly_adhoc]
   |   ^
...
14 | / derive_deftly_adhoc! {
15 | |     Struct beta_deftly:
16 | |     ${error message="just message"}
17 | |     $( ${error message=${concat "spanned at ftype for " $fname} span=$ftype} )
18 | | }
   | |_- in this macro invocation
   |
   = note: this error originates in the macro `derive_deftly_driver_Struct` which comes from the expansion of the macro `derive_deftly_adhoc` (in Nightly builds, run with -Z macro-backtrace for more info)

error: just message (template error message)
  --> ui/explerror.rs:16:21
   |
16 |     ${error message="just message"}
   |                     ^^^^^^^^^^^^^^

error: spanned at ftype for field (reported by template)
  --> ui/explerror.rs:6:12
   |
6  |       field: usize,
   |              ^^^^^
...
14 | / derive_deftly_adhoc! {
15 | |     Struct beta_deftly:
16 | |     ${error message="just message"}
17 | |     $( ${error message=${concat "spanned at ftype for " $fname} span=$ftype} )
18 | | }
   | |_- in this macro invocation
   |
   = note: this error originates in the macro `derive_deftly_driver_Struct` which comes from the expansion of the macro `derive_deftly_adhoc` (in Nightly builds, run with -Z macro-backtrace for more info)

error: spanned at ftype for field (in this field)
  --> ui/explerror.rs:6:5
   |
6  |       field: usize,
   |       ^^^^^
...
14 | / derive_deftly_adhoc! {
15 | |     Struct beta_deftly:
16 | |     ${error message="just message"}
17 | |     $( ${error message=${concat "spanned at ftype for " $fname} span=$ftype} )
18 | | }
   | |_- in this macro invocation
   |
   = note: this error originates in the macro `derive_deftly_driver_Struct` which comes from the expansion of the macro `derive_deftly_adhoc` (in Nightly builds, run with -Z macro-backtrace for more info)

error: spanned at ftype for field (template error message)
  --> ui/explerror.rs:17:33
   |
17 |     $( ${error message=${concat "spanned at ftype for " $fname} span=$ftype} )
   |                                 ^^^^^^^^^^^^^^^^^^^^^^^

error: just from Throws (in this data structure)
  --> ui/explerror.rs:27:1
   |
27 | #[derive_deftly(Throws)]
   | ^

error: just from Throws (template error message)
  --> ui/explerror.rs:22:21
   |
22 |     ${error message="just from Throws"}
   |                     ^^^^^^^^^^^^^^^^^^
...
26 | #[derive(Deftly)]
   |          ------ in this derive macro expansion
   |
   = note: this error originates in the macro `derive_deftly_template_Throws` which comes from the expansion of the derive macro `Deftly` (in Nightly builds, run with -Z macro-backtrace for more info)

error: from Throw at ftype (reported by Throws)
  --> ui/explerror.rs:29:13
   |
29 |     field2: u32,
   |             ^^^

error: from Throw at ftype (in this field)
  --> ui/explerror.rs:29:5
   |
29 |     field2: u32,
   |     ^^^^^^

error: from Throw at ftype (template error message)
  --> ui/explerror.rs:23:24
   |
23 |     $( ${error message="from Throw at ftype" span=$ftype} )
   |                        ^^^^^^^^^^^^^^^^^^^^^
...
26 | #[derive(Deftly)]
   |          ------ in this derive macro expansion
   |
   = note: this error originates in the macro `derive_deftly_template_Throws` which comes from the expansion of the derive macro `Deftly` (in Nightly builds, run with -Z macro-backtrace for more info)