[ https://issues.apache.org/jira/browse/THRIFT-4529?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16678114#comment-16678114 ]
Allen George commented on THRIFT-4529: -------------------------------------- Looks like it. For some reason I totally missed the variant section in [Naming Conventions|https://doc.rust-lang.org/1.0.0/style/style/naming/README.html]. It looks like a very simple fix. > Rust generation should include #![allow(non_snake_case)] or force conform to > Rust style guidelines > -------------------------------------------------------------------------------------------------- > > Key: THRIFT-4529 > URL: https://issues.apache.org/jira/browse/THRIFT-4529 > Project: Thrift > Issue Type: Improvement > Components: Rust - Compiler > Affects Versions: 0.11.0 > Reporter: Joshua > Priority: Minor > > Without this, building a project using a thrift file meant for multiple > languages may end up with many compiler warnings similar to the following: > {code:sh} > warning: variant `EXAMPLE_NAME` should have a camel case name such as > `ExampleName` > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)