Skip to content

struct xx_Type {} error = xx_Type should have a camel case identifier #12901

Closed
@SecondNature

Description

@SecondNature

rust.0.10.20140312 on Windows

X_Type
XX_Type
xx_Type

pub struct xx_Type {
}

All the above struct names give the error:-
X_Type should have a camel case identifier, #[warn(non_camel_case_types)] on by default

These names didn't give errors in 0.9

struct name aren't required to be camel case.

The bug is with '_' in struct names?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions