Commit Graph

10 Commits

Author SHA1 Message Date
David Tolnay
2212bfbf2c Result needs to be fully qualified
Without this:

```
error[E0244]: wrong number of type arguments
  --> src/api/accounts.rs:19:10
   |
19 | #[derive(Serialize, Deserialize, Debug)]
   |          ^^^^^^^^^^ expected 1 type arguments, found 2
```
2016-09-07 16:37:26 -07:00
David Tolnay
14446af537
Fix "variable does not need to be mutable" warning 2016-09-02 11:42:33 -07:00
David Tolnay
a732b9bad3
Fix codegen with lifetimes but no type parameters 2016-08-19 11:12:38 -04:00
David Tolnay
3b7fa47b2e
PhantomData<T> does not require bounds on T 2016-07-22 09:05:43 -07:00
David Tolnay
fb6fc4e19f
Add tests for concrete instantiations in test_gen 2016-07-22 08:49:51 -07:00
David Tolnay
85772726ee Merge pull request #456 from serde-rs/generic
Generate bounds on type parameters only
2016-07-22 07:58:56 -07:00
David Tolnay
25a5dd1579
Impl Deserialize for PhantomData<T> for all T 2016-07-21 23:22:38 -07:00
David Tolnay
1831b471f9
Generate bounds on type parameters only 2016-07-21 23:06:18 -07:00
David Tolnay
13e1a129dd
Ignore unused struct in test_gen.rs 2016-07-17 21:10:05 -07:00
David Tolnay
fb0e62951f
Rename serde_tests to testing 2016-06-28 20:43:59 -07:00