@@ -19,32 +19,24 @@ error: expected 1 activities, but found 2
19
19
|
20
20
LL | #[autodiff(df3, Reverse, Duplicated, Const)]
21
21
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
22
- |
23
- = note: this error originates in the attribute macro `autodiff` (in Nightly builds, run with -Z macro-backtrace for more info)
24
22
25
23
error: expected 1 activities, but found 0
26
24
--> $DIR/autodiff_illegal.rs:27:1
27
25
|
28
26
LL | #[autodiff(df4, Reverse)]
29
27
| ^^^^^^^^^^^^^^^^^^^^^^^^^
30
- |
31
- = note: this error originates in the attribute macro `autodiff` (in Nightly builds, run with -Z macro-backtrace for more info)
32
28
33
29
error: Dual can not be used in Reverse Mode
34
30
--> $DIR/autodiff_illegal.rs:34:1
35
31
|
36
32
LL | #[autodiff(df5, Reverse, Dual)]
37
33
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
38
- |
39
- = note: this error originates in the attribute macro `autodiff` (in Nightly builds, run with -Z macro-backtrace for more info)
40
34
41
35
error: Duplicated can not be used in Forward Mode
42
36
--> $DIR/autodiff_illegal.rs:41:1
43
37
|
44
38
LL | #[autodiff(df6, Forward, Duplicated)]
45
39
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
46
- |
47
- = note: this error originates in the attribute macro `autodiff` (in Nightly builds, run with -Z macro-backtrace for more info)
48
40
49
41
error: Duplicated can not be used for this type
50
42
--> $DIR/autodiff_illegal.rs:42:14
@@ -107,7 +99,6 @@ LL | #[autodiff(fn_exists, Reverse, Active)]
107
99
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `fn_exists` redefined here
108
100
|
109
101
= note: `fn_exists` must be defined only once in the value namespace of this module
110
- = note: this error originates in the attribute macro `autodiff` (in Nightly builds, run with -Z macro-backtrace for more info)
111
102
112
103
error: autodiff requires at least a name and mode
113
104
--> $DIR/autodiff_illegal.rs:95:1
@@ -135,40 +126,30 @@ error: invalid return activity Active in Forward Mode
135
126
|
136
127
LL | #[autodiff(df19, Forward, Dual, Active)]
137
128
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
138
- |
139
- = note: this error originates in the attribute macro `autodiff` (in Nightly builds, run with -Z macro-backtrace for more info)
140
129
141
130
error: invalid return activity Dual in Reverse Mode
142
131
--> $DIR/autodiff_illegal.rs:167:1
143
132
|
144
133
LL | #[autodiff(df20, Reverse, Active, Dual)]
145
134
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
146
- |
147
- = note: this error originates in the attribute macro `autodiff` (in Nightly builds, run with -Z macro-backtrace for more info)
148
135
149
136
error: invalid return activity Duplicated in Reverse Mode
150
137
--> $DIR/autodiff_illegal.rs:174:1
151
138
|
152
139
LL | #[autodiff(df21, Reverse, Active, Duplicated)]
153
140
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
154
- |
155
- = note: this error originates in the attribute macro `autodiff` (in Nightly builds, run with -Z macro-backtrace for more info)
156
141
157
142
error[E0433]: failed to resolve: use of undeclared type `MyFloat`
158
143
--> $DIR/autodiff_illegal.rs:130:1
159
144
|
160
145
LL | #[autodiff(df15, Reverse, Active, Active)]
161
146
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MyFloat`
162
- |
163
- = note: this error originates in the attribute macro `autodiff` (in Nightly builds, run with -Z macro-backtrace for more info)
164
147
165
148
error[E0433]: failed to resolve: use of undeclared type `F64Trans`
166
149
--> $DIR/autodiff_illegal.rs:154:1
167
150
|
168
151
LL | #[autodiff(df18, Reverse, Active, Active)]
169
152
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `F64Trans`
170
- |
171
- = note: this error originates in the attribute macro `autodiff` (in Nightly builds, run with -Z macro-backtrace for more info)
172
153
173
154
error: aborting due to 22 previous errors
174
155
0 commit comments