We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4c02e5 commit c1aa017Copy full SHA for c1aa017
src/test/compile-fail/lint-non-camel-case-types.rs
@@ -45,4 +45,12 @@ struct foo7 {
45
46
type __ = isize; //~ ERROR type `__` should have a camel case name such as `CamelCase`
47
48
+struct X86_64;
49
+
50
+struct X86__64; //~ ERROR type `X86__64` should have a camel case name such as `X86_64`
51
52
+struct Abc_123; //~ ERROR type `Abc_123` should have a camel case name such as `Abc123`
53
54
+struct A1_b2_c3; //~ ERROR type `A1_b2_c3` should have a camel case name such as `A1B2C3`
55
56
fn main() { }
0 commit comments