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-uniq-mut-expr.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-uniq-mut-expr.rs')
| -rw-r--r-- | src/test/compile-fail/removed-syntax-uniq-mut-expr.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/removed-syntax-uniq-mut-expr.rs b/src/test/compile-fail/removed-syntax-uniq-mut-expr.rs index f4fc5b696fa..124b3738fab 100644 --- a/src/test/compile-fail/removed-syntax-uniq-mut-expr.rs +++ b/src/test/compile-fail/removed-syntax-uniq-mut-expr.rs @@ -10,6 +10,6 @@ fn f() { let a_box = box mut 42; - //~^ ERROR found `mut` in ident position + //~^ ERROR expected identifier, found keyword `mut` //~^^ ERROR expected `;`, found `42` } |
