serde/test_suite/tests/ui/expected-string/byte_string.rs

10 lines
137 B
Rust
Raw Normal View History

2018-12-31 20:36:59 -06:00
use serde_derive::Serialize;
#[derive(Serialize)]
struct S {
#[serde(rename = b"byte string")]
byte_string: (),
}
fn main() {}