Skip to content

Commit 1745a66

Browse files
committed
---
yaml --- r: 63934 b: refs/heads/snap-stage3 c: da43845 h: refs/heads/master v: v3
1 parent 86ce47b commit 1745a66

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
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: 2d28d645422c1617be58c8ca7ad9a457264ca850
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 6a2ad0801ae496f9c16e34724a80f65764fcdd96
4+
refs/heads/snap-stage3: da4384583b84c262dec82be4b041f0332ca16e57
55
refs/heads/try: 7b78b52e602bb3ea8174f9b2006bff3315f03ef9
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/mk/clean.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ CLEAN_STAGE_RULES = \
2020
clean$(stage)_T_$(target)_H_$(host))))
2121

2222
CLEAN_LLVM_RULES = \
23-
$(foreach target, $(CFG_HOST_TRIPLES), \
23+
$(foreach target, $(CFG_TARGET_TRIPLES), \
2424
clean-llvm$(target))
2525

2626
.PHONY: clean clean-all clean-misc clean-llvm

branches/snap-stage3/src/librustc/middle/lint.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -854,7 +854,10 @@ fn check_item_non_camel_case_types(cx: &Context, it: &ast::item) {
854854
let ident = cx.sess.str_of(ident);
855855
assert!(!ident.is_empty());
856856
let ident = ident.trim_chars(&'_');
857-
char::is_uppercase(ident.char_at(0)) &&
857+
858+
// start with a non-lowercase letter rather than non-uppercase
859+
// ones (some scripts don't have a concept of upper/lowercase)
860+
!ident.char_at(0).is_lowercase() &&
858861
!ident.contains_char('_')
859862
}
860863

0 commit comments

Comments
 (0)