diff options
Diffstat (limited to 'src/test/parse-fail/issue-17718-const-mut.rs')
| -rw-r--r-- | src/test/parse-fail/issue-17718-const-mut.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/parse-fail/issue-17718-const-mut.rs b/src/test/parse-fail/issue-17718-const-mut.rs index b7feeecbfd9..b450cb25e6b 100644 --- a/src/test/parse-fail/issue-17718-const-mut.rs +++ b/src/test/parse-fail/issue-17718-const-mut.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 + const mut //~ ERROR: const globals cannot be mutable //~^ HELP did you mean to declare a static? |
