about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorPramod Bisht <pramodpsb@outlook.com>2018-10-02 05:51:02 +0000
committerPramod Bisht <pramodpsb@outlook.com>2018-10-02 05:51:02 +0000
commite536e64702a12898ba7156c66de40b652ac21db1 (patch)
tree90df5bbe78b8f9fb1e936eef56991f7fa7e2a918 /src/rustllvm/RustWrapper.cpp
parentde3d640f59c4fa4a09faf2a8d6b0a812aaa6d6cb (diff)
downloadrust-e536e64702a12898ba7156c66de40b652ac21db1.tar.gz
rust-e536e64702a12898ba7156c66de40b652ac21db1.zip
Consolidate pattern check errors
we are consolidating `cannot bind by-move and by-ref in the same
pattern` message present on the different lines into single diagnostic
message.

To do this, we are first gathering those spans into the vector
after that we are throwing them with the help of MultiSpan in
a separate block.

Addresses: #53840
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions