diff options
| author | Zack M. Davis <code@zackmdavis.net> | 2018-06-23 16:49:09 -0700 |
|---|---|---|
| committer | Zack M. Davis <code@zackmdavis.net> | 2018-06-23 22:57:37 -0700 |
| commit | a417518173bae739d1aef50c6cf1a1e3bd4c4319 (patch) | |
| tree | b9128702ccb5e0139d58f31c6d4a5797a300fb82 /src/rustllvm/RustWrapper.cpp | |
| parent | 4650361fb627f7dd6b8d5c1cee8a7a12a050ba80 (diff) | |
| download | rust-a417518173bae739d1aef50c6cf1a1e3bd4c4319.tar.gz rust-a417518173bae739d1aef50c6cf1a1e3bd4c4319.zip | |
structured suggestion and rewording for `...` expression syntax error
Now that `..=` inclusive ranges are stabilized, people probably shouldn't be using `...` even in patterns, even if it's still legal there (see #51043). To avoid drawing attention to `...` being a real thing, let's reword this message to just say "unexpected token" rather "cannot be used in expressions".
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
