diff options
| author | Jonas Hietala <tradet.h@gmail.com> | 2014-08-29 09:18:05 +0200 |
|---|---|---|
| committer | Jonas Hietala <tradet.h@gmail.com> | 2014-08-29 10:36:43 +0200 |
| commit | 5bf1b03e5c8753680c231ebcb7735a9855de31a3 (patch) | |
| tree | 423f3c02b52696e22775ffa9e753ec1032619cb6 /src/test/compile-fail/removed-syntax-mut-vec-ty.rs | |
| parent | dee8423531bf88752e14ebfbdc2c1d1ade8a8fa7 (diff) | |
| download | rust-5bf1b03e5c8753680c231ebcb7735a9855de31a3.tar.gz rust-5bf1b03e5c8753680c231ebcb7735a9855de31a3.zip | |
Tweak error message for use of a keyword in ident position.
Closes #15358
Diffstat (limited to 'src/test/compile-fail/removed-syntax-mut-vec-ty.rs')
| -rw-r--r-- | src/test/compile-fail/removed-syntax-mut-vec-ty.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/removed-syntax-mut-vec-ty.rs b/src/test/compile-fail/removed-syntax-mut-vec-ty.rs index 912952892e4..c5eec2ef6e1 100644 --- a/src/test/compile-fail/removed-syntax-mut-vec-ty.rs +++ b/src/test/compile-fail/removed-syntax-mut-vec-ty.rs @@ -9,5 +9,5 @@ // except according to those terms. type v = [mut int]; - //~^ ERROR found `mut` in ident position + //~^ ERROR expected identifier, found keyword `mut` //~^^ ERROR expected `]`, found `int` |
