diff options
Diffstat (limited to 'src/test/parse-fail/removed-syntax-larrow-init.rs')
| -rw-r--r-- | src/test/parse-fail/removed-syntax-larrow-init.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/parse-fail/removed-syntax-larrow-init.rs b/src/test/parse-fail/removed-syntax-larrow-init.rs index 116848c42c2..1388f8745df 100644 --- a/src/test/parse-fail/removed-syntax-larrow-init.rs +++ b/src/test/parse-fail/removed-syntax-larrow-init.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// compile-flags: -Z parse-only + fn removed_moves() { let mut x = 0; let y <- x; |
