David Tolnay
|
c05e9ed4ec
|
Support mixing shorthand and non-shorthand format args
|
2019-11-30 17:45:44 -08:00 |
David Tolnay
|
03e522411e
|
Break up test_display into individual test cases
|
2019-11-30 17:35:24 -08:00 |
David Tolnay
|
7f8b5784cb
|
Support referring to statics and consts from shorthand
|
2019-11-30 16:30:04 -08:00 |
David Tolnay
|
634bec57c4
|
Add test of escaped braces in format string
|
2019-11-30 16:24:43 -08:00 |
David Tolnay
|
3348428b60
|
Assert that boxed source can be downcast
|
2019-11-18 23:20:53 -08:00 |
Ben Boeckel
|
4303f71cce
|
aserror: support Send + !Sync errors too
|
2019-11-18 22:14:23 -05:00 |
David Tolnay
|
4bd5753b94
|
Add ui test of missing Display impl
|
2019-11-09 18:38:02 -08:00 |
David Tolnay
|
f1eb7a8fcb
|
Add test for displaying paths
|
2019-11-09 18:24:49 -08:00 |
David Tolnay
|
f90fe75315
|
Test #[from]
|
2019-10-12 17:55:29 -07:00 |
David Tolnay
|
2305f75976
|
Validate #[from] attribute
|
2019-10-12 17:55:29 -07:00 |
David Tolnay
|
b4996def92
|
Make test_option appear as ignored or passing
|
2019-10-12 16:18:43 -07:00 |
David Tolnay
|
d9ed0fba49
|
Add test for optional backtrace
|
2019-10-12 16:14:07 -07:00 |
David Tolnay
|
30b1561f65
|
Add test for optional source
|
2019-10-12 16:07:23 -07:00 |
David Tolnay
|
de6719e923
|
Improve span for the enum case
|
2019-10-12 15:01:57 -07:00 |
David Tolnay
|
098dcf26c3
|
Improve span when source is not an Error
|
2019-10-12 14:56:08 -07:00 |
David Tolnay
|
5c0cea6e16
|
Add compilefail test for source that is not an Error
|
2019-10-12 14:45:20 -07:00 |
David Tolnay
|
6b35d7f73c
|
Assume #[source] attribute for fields named `source`
|
2019-10-12 14:20:33 -07:00 |
David Tolnay
|
99f035e1b8
|
Avoid dead code warning on void enum in test
|
2019-10-12 14:10:41 -07:00 |
David Tolnay
|
5ea03dd7da
|
Support Display impl for void enums
|
2019-10-12 13:53:39 -07:00 |
David Tolnay
|
aa123cfe0c
|
Reject display attribute on a field
|
2019-10-12 13:45:26 -07:00 |
David Tolnay
|
10d1f640da
|
Reject source attribute not on a field
|
2019-10-12 13:42:11 -07:00 |
David Tolnay
|
41068e5435
|
Variants inherit fmt attr from the enum
|
2019-10-12 13:30:32 -07:00 |
David Tolnay
|
d42a95076c
|
Detect duplicate source attributes
|
2019-10-12 13:03:43 -07:00 |
David Tolnay
|
39d2ae53ba
|
Set up some trybuild tests
|
2019-10-11 11:47:57 -07:00 |
David Tolnay
|
c6000945c7
|
Collapse some needlessly verbose code in test
|
2019-10-11 11:04:07 -07:00 |
David Tolnay
|
7fa5b8114d
|
Accept `.var` shorthand inside of parens
|
2019-10-11 10:46:20 -07:00 |
David Tolnay
|
8b31ec6fd0
|
Format with rustfmt 2019-09-08
|
2019-10-11 10:46:20 -07:00 |
David Tolnay
|
18f327f834
|
Add test of an interpolated expression
|
2019-10-09 10:42:49 -07:00 |
David Tolnay
|
f7e48a99b3
|
Use fmt shorthand in tests
|
2019-10-09 10:23:33 -07:00 |
David Tolnay
|
69df19571a
|
Implement Display for enums
|
2019-10-09 09:03:51 -07:00 |
David Tolnay
|
4778dc126c
|
Add basic Display test
|
2019-10-09 08:57:46 -07:00 |
David Tolnay
|
8e866cde57
|
Error implementation for enums
|
2019-10-09 08:12:22 -07:00 |
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 |