Given the following struct:
#[derive(AsChangeset)]
#[table_name = "users"]
struct UserForm {
id: i32,
name: String,
}
the input to the custom derive will have incorrect span information for every token in the table_name attribute except for the pound. Every other token will have the span Span { lo: BytePos(0), hi: BytePos(0), ctxt: #0 }.
Given the following struct:
the input to the custom derive will have incorrect span information for every token in the
table_nameattribute except for the pound. Every other token will have the spanSpan { lo: BytePos(0), hi: BytePos(0), ctxt: #0 }.