diff --git a/src/test/compile-fail/block-arg-as-stmt-with-value.rs b/src/test/compile-fail/block-arg-as-stmt-with-value.rs index ccdc29f004a1..dfa39082a940 100644 --- a/src/test/compile-fail/block-arg-as-stmt-with-value.rs +++ b/src/test/compile-fail/block-arg-as-stmt-with-value.rs @@ -9,5 +9,5 @@ fn compute1() -> float { fn main() { let x = compute1(); log(debug, x); - assert(y == -4f); + assert(x == -4f); }