serde/test_suite
David Tolnay a398237930
Point out serde(untagged) variants which are out of order
Previously if someone wrote an enum containing:

- `A` (untagged)
- `B` (tagged)
- `C` (tagged)
- `D` (untagged)
- `E` (tagged)
- `F` (untagged)

serde_derive would produce errors referring to B and E only, saying
you're supposed to put untagged variants at the end. The choice of B and
E for this error doesn't make a lot of sense because in order to resolve
the issue, the user must either:

- move A and D down

or:

- move B, C, and E up.

This commit changes the error to appear on A and D instead.
2023-06-07 21:49:30 -07:00
..
no_std Add authors to Cargo.toml 2022-07-31 19:25:47 -07:00
tests Point out serde(untagged) variants which are out of order 2023-06-07 21:49:30 -07:00
Cargo.toml Make a directory dedicated to regression tests 2023-03-08 19:02:42 -08:00