testsuite: Capitalize error message, unbreak build
This commit is contained in:
parent
69fff85ec8
commit
86b8bf37bb
@ -14,12 +14,14 @@ fn main() {
|
||||
for uint::range(0, 100000) |_i| { //~ ERROR A for-loop body must return (), but
|
||||
false
|
||||
};
|
||||
for not_bool |_i| { //~ ERROR a `for` loop iterator should expect a closure that returns `bool`
|
||||
for not_bool |_i| {
|
||||
//~^ ERROR A `for` loop iterator should expect a closure that returns `bool`
|
||||
~"hi"
|
||||
};
|
||||
for uint::range(0, 100000) |_i| { //~ ERROR A for-loop body must return (), but
|
||||
~"hi"
|
||||
};
|
||||
for not_bool() |_i| { //~ ERROR a `for` loop iterator should expect a closure that returns `bool`
|
||||
for not_bool() |_i| {
|
||||
//~^ ERROR A `for` loop iterator should expect a closure that returns `bool`
|
||||
};
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user