Skip to content

Commit c69050b

Browse files
committed
---
yaml --- r: 28569 b: refs/heads/try c: 76c8b83 h: refs/heads/master i: 28567: e4c45c2 v: v3
1 parent b448a72 commit c69050b

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
@@ -2,7 +2,7 @@
22
refs/heads/master: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
5-
refs/heads/try: 6473cf17576fb0f52c653d96e22c4c9bf316250a
5+
refs/heads/try: 76c8b83efad38b05c5f4d140b8084dcb7b75fc38
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: d0c6ce338884ee21843f4b40bf6bf18d222ce5df

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

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

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

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

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

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

branches/try/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() { }

branches/try/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)