Skip to content

Commit 33a296f

Browse files
committed
Lowercase warning message.
1 parent 6157558 commit 33a296f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/rustc/middle/lint.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ fn check_item_while_true(cx: ctxt, level: level, it: @ast::item) {
191191
ast::expr_lit(@{node: ast::lit_bool(true),_}) {
192192
cx.span_lint(
193193
level, e.span,
194-
"Denote infinite loops with loop { ... }");
194+
"denote infinite loops with loop { ... }");
195195
}
196196
_ {}
197197
}

src/test/compile-fail/issue-1962.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// compile-flags: -W err-while-true
22
fn main() {
33
let mut i = 0;
4-
while true { //! ERROR Denote infinite loops with loop
4+
while true { //! ERROR denote infinite loops with loop
55
i += 1;
66
if i == 5 { break; }
77
}

0 commit comments

Comments
 (0)