est31
6a29fab274
Mark even more tests as gate tests
...
Now, no feature outside of the whitelist is
without a test marked as its gate test.
2017-01-12 23:53:02 +01:00
Gavin Baker
99aae9b834
Improve error message and snippet for "did you mean x"
...
- Fixes #36164
- Part of #35233
- handles unknown fields
- uses UI-style tests
- update all related tests (cfail, ui, incremental)
2016-10-02 15:57:39 +11:00
aclarry
23efc5453d
Update E0560 to include label
2016-09-20 16:59:48 -04:00
Vadim Petrochenkov
62cb7510ac
Improve Eq deriving
2016-09-10 22:37:06 +03:00
Vadim Petrochenkov
2a2c9d38c7
Improve shallow Clone deriving
2016-09-10 18:43:27 +03:00
bors
fe278a8a32
Auto merge of #36252 - joshtriplett:union-field-never-used, r=sanxiyn
...
Fix "field is never used" warning to take unions into account
When compiling code containing a union with an unused field, rustc says
"struct field is never used".
Rather than saying "struct or union", or adding logic to determine the
type of the item, just change the message to "field is never used",
dropping the "struct".
Update tests accordingly.
2016-09-06 20:06:34 -07:00
Josh Triplett
046c7f2368
Add test for unused field in union
2016-09-05 10:19:00 -07:00
Cobrand
1aa777b51f
Updated E0559 to new format
...
Refactored a method that printed one suggested field name,
into a method that returns an `Option` of a suggestion
Updated test cases accordingly
2016-09-04 22:21:32 +02:00
Vadim Petrochenkov
93067ca089
Address comments and add requested tests
2016-09-03 13:39:35 +03:00