about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2018-05-29 22:31:00 -0700
committerEsteban Küber <esteban@kuber.com.ar>2018-06-05 08:48:55 -0700
commitcbc70a0d68bae1d439eb679676c499d543e61396 (patch)
treea9efe540a57f11894d8127b4686abb377a4b3178 /src/rustllvm/RustWrapper.cpp
parent8f4a5429c2cf7ce1f0a63f821484744024b364f1 (diff)
downloadrust-cbc70a0d68bae1d439eb679676c499d543e61396.tar.gz
rust-cbc70a0d68bae1d439eb679676c499d543e61396.zip
Improve diagnostics for incorrect `..` usage
When using `..` somewhere other than the end, parse the rest of the
pattern correctly while still emitting an error.

Add suggestions to either remove trailing `,` or moving the `..` to the
end.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions