wrenger/bitfield-struct-rs

Support of raw identifiers

Closed this issue · 2 comments

It looks like raw identifiers are currently not working.

I tried r#type as a field name, which panicked with

custom attribute panicked message: `"with_r#type"` is not a valid identifier

Ah this looks like an oversight. Thanks for reporting it.

Seems to be related to: dtolnay/quote#206
I'll change the format_ident calls, respectively.