Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-4529

Rust generation should include #![allow(non_snake_case)] or force conform to Rust style guidelines

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.11.0
    • Fix Version/s: 0.12.0
    • Component/s: Rust - Compiler
    • Labels:
      None

      Description

      Without this, building a project using a thrift file meant for multiple languages may end up with many compiler warnings similar to the following:

      warning: variant `EXAMPLE_NAME` should have a camel case name such as `ExampleName`
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                allengeorge Allen George
                Reporter:
                questofiranon Joshua
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: