Commit 7328b34
committed
Add test of generic remote derive with getter
Currently fails to compile.
error[E0107]: missing generics for struct `StructGeneric`
--> test_suite/tests/test_remote.rs:181:18
|
181 | #[serde(remote = "remote::StructGeneric")]
| ^^^^^^^^^^^^^^^^^^^^^^^ expected 1 generic argument
|
note: struct defined here, with 1 generic parameter: `T`
--> test_suite/tests/test_remote.rs:78:16
|
78 | pub struct StructGeneric<T> {
| ^^^^^^^^^^^^^ -
help: add missing generic argument
|
181 | #[serde(remote = StructGeneric<T>)]
| ~~~~~~~~~~~~~~~~1 parent fabbd2b commit 7328b34
1 file changed
+19
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
82 | 88 | | |
83 | 89 | | |
84 | 90 | | |
| |||
171 | 177 | | |
172 | 178 | | |
173 | 179 | | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
174 | 187 | | |
175 | 188 | | |
176 | 189 | | |
| |||
206 | 219 | | |
207 | 220 | | |
208 | 221 | | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
0 commit comments