Skip to content

Commit afe7924

Browse files
committed
correct test to reference right value
1 parent f832edc commit afe7924

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/compile-fail/block-arg-as-stmt-with-value.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ fn compute1() -> float {
99
fn main() {
1010
let x = compute1();
1111
log(debug, x);
12-
assert(y == -4f);
12+
assert(x == -4f);
1313
}

0 commit comments

Comments
 (0)