Commit graph

12 commits

Author SHA1 Message Date
David Tolnay
cc4af147f3
Add test with error source 2019-10-09 07:28:24 -07:00
David Tolnay
3e7ddeb72d
Easier display impl in tests 2019-10-09 07:27:11 -07:00
David Tolnay
fe4de24dcc
Add some tests of struct errors 2019-10-09 07:27:10 -07:00
David Tolnay
5038953fd1
Unify braced struct and tuple struct field iteration 2019-10-09 07:27:10 -07:00
David Tolnay
c86452cc68
Add backtrace() method for structs 2019-10-09 07:27:10 -07:00
David Tolnay
4cdeec15e5
Locate field that has the #[source] attribute 2019-10-09 07:27:10 -07:00
David Tolnay
f1dcfe0f0a
Add source() method for structs 2019-10-09 06:57:35 -07:00
David Tolnay
1f02d8d9fd
Implement derive for unit struct errors 2019-10-09 06:46:21 -07:00
David Tolnay
c30d847847
Begin derive macro implementation 2019-10-08 23:29:12 -07:00
David Tolnay
1987e628fa
Add thiserror-impl crate to be the proc macro 2019-10-08 23:22:44 -07:00
David Tolnay
b67ea2e157
Dual mit OR apache license 2019-10-08 23:19:49 -07:00
David Tolnay
1a2172b543
Initial commit 2019-10-08 23:18:38 -07:00