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

11 lines
141 B
Rust
Raw Normal View History

#[macro_use]
extern crate serde_derive;
#[derive(Serialize)]
struct S {
#[serde(rename = b'a')]
byte_character: (),
}
fn main() {}