flatbuffers icon indicating copy to clipboard operation
flatbuffers copied to clipboard

[Rust] Name clash in generated code for reserved words

Open andygrove opened this issue 7 years ago • 0 comments

I'm generating code from https://github.com/apache/arrow/blob/master/format/Schema.fbs which has a union named Type and this caused flatbuffers to generate a Type.rs module but since type is a reserved word in Rust this won't compile.

andygrove avatar May 18 '18 13:05 andygrove