diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2017-05-30 14:23:02 -0700 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2017-05-31 11:26:19 -0700 |
| commit | 22c4ee365c3b921859e0a325a559b3d41f49c4bb (patch) | |
| tree | 6178f205f1b3147003dacadff2d344aef8b9acff /src/test/parse-fail | |
| parent | f89d8d184490ecb3cf91f7b6bb7296d649f931ba (diff) | |
Improve error message for const extern fn
Diffstat (limited to 'src/test/parse-fail')
| -rw-r--r-- | src/test/parse-fail/removed-syntax-extern-const.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/parse-fail/removed-syntax-extern-const.rs b/src/test/parse-fail/removed-syntax-extern-const.rs index e632af6c83b..27688867de3 100644 --- a/src/test/parse-fail/removed-syntax-extern-const.rs +++ b/src/test/parse-fail/removed-syntax-extern-const.rs @@ -12,5 +12,5 @@ extern { const i: isize; - //~^ ERROR expected one of `fn`, `pub`, `static`, or `}`, found `const` + //~^ ERROR extern items cannot be `const` } |
