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

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.11.0
    • 0.12.0
    • Rust - Compiler
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: