Skip to content

Commit e1417c7

Browse files
committed
---
yaml --- r: 21883 b: refs/heads/snap-stage3 c: 76c8b83 h: refs/heads/master i: 21881: 9a4389b 21879: 8e44252 v: v3
1 parent 17456c6 commit e1417c7

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,7 +1,7 @@
11
---
22
refs/heads/master: e430a699f2c60890d9b86069fd0c68a70ece7120
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 6473cf17576fb0f52c653d96e22c4c9bf316250a
4+
refs/heads/snap-stage3: 76c8b83efad38b05c5f4d140b8084dcb7b75fc38
55
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

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

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

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

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

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

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

branches/snap-stage3/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/snap-stage3/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)