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

11 lines
135 B
Rust
Raw Normal View History

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