diff options
Diffstat (limited to 'src/test/compile-fail/liveness-if-with-else.rs')
| -rw-r--r-- | src/test/compile-fail/liveness-if-with-else.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/liveness-if-with-else.rs b/src/test/compile-fail/liveness-if-with-else.rs index dbb3e6b1645..7f7003dbbe4 100644 --- a/src/test/compile-fail/liveness-if-with-else.rs +++ b/src/test/compile-fail/liveness-if-with-else.rs @@ -7,5 +7,5 @@ fn main() { } else { x = 10; } - foo(x); //! ERROR use of possibly uninitialized variable: `x` + foo(x); //~ ERROR use of possibly uninitialized variable: `x` } |
