Skip to content

Commit 5caed02

Browse files
committed
---
yaml --- r: 23991 b: refs/heads/master c: 76c8b83 h: refs/heads/master i: 23989: fcb443e 23987: 471bc3c 23983: 8cd1771 v: v3
1 parent b6d4c45 commit 5caed02

File tree

7 files changed

+25
-34
lines changed

7 files changed

+25
-34
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 6473cf17576fb0f52c653d96e22c4c9bf316250a
2+
refs/heads/master: 76c8b83efad38b05c5f4d140b8084dcb7b75fc38
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
55
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be

trunk/src/test/compile-fail/lint-non-camel-case-class.rs

Lines changed: 0 additions & 7 deletions
This file was deleted.

trunk/src/test/compile-fail/lint-non-camel-case-enum.rs

Lines changed: 0 additions & 7 deletions
This file was deleted.

trunk/src/test/compile-fail/lint-non-camel-case-struct.rs

Lines changed: 0 additions & 7 deletions
This file was deleted.

trunk/src/test/compile-fail/lint-non-camel-case-type.rs

Lines changed: 0 additions & 5 deletions
This file was deleted.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#[forbid(non_camel_case_types)];
2+
3+
struct foo { //~ ERROR type, variant, or trait must be camel case
4+
bar: int,
5+
}
6+
7+
enum foo2 { //~ ERROR type, variant, or trait must be camel case
8+
Bar
9+
}
10+
11+
struct foo3 { //~ ERROR type, variant, or trait must be camel case
12+
bar: int
13+
}
14+
15+
type foo4 = int; //~ ERROR type, variant, or trait must be camel case
16+
17+
enum Foo5 {
18+
bar //~ ERROR type, variant, or trait must be camel case
19+
}
20+
21+
trait foo6 { //~ ERROR type, variant, or trait must be camel case
22+
}
23+
24+
fn main() { }

trunk/src/test/compile-fail/lint-non-camel-case-variant.rs

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)