Skip to content

Commit 6dd19d5

Browse files
committed
---
yaml --- r: 68561 b: refs/heads/auto c: da43845 h: refs/heads/master i: 68559: ee4c5ff v: v3
1 parent 384b883 commit 6dd19d5

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
@@ -14,6 +14,6 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
1414
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1515
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1616
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
17-
refs/heads/auto: 6a2ad0801ae496f9c16e34724a80f65764fcdd96
17+
refs/heads/auto: da4384583b84c262dec82be4b041f0332ca16e57
1818
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
1919
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c

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