serde/test_suite/tests/ui/transparent/with_into.stderr
hcpl 14a3da9b16 Improve UI test coverage
With this commit I believe I've covered all `compile_error!`-based
errors.
2018-11-30 03:07:31 +02:00

12 lines
235 B
Plaintext

error: #[serde(transparent)] is not allowed with #[serde(into = "...")]
--> $DIR/with_into.rs:5:1
|
5 | / #[serde(transparent, into = "u64")]
6 | | struct S {
7 | | a: u8,
8 | | }
| |_^
error: aborting due to previous error