about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorvarkor <github@varkor.com>2018-01-26 15:33:05 +0000
committervarkor <github@varkor.com>2018-01-26 15:33:05 +0000
commit0ac465924e6ae4380b25c38cbc14f425796fa2af (patch)
tree35390718704319a4b6e9dc7a66c5eb47ee9de0d3 /src/rustllvm/RustWrapper.cpp
parenta0dcecff90c45ad5d4eb60859e22bb3f1b03842a (diff)
downloadrust-0ac465924e6ae4380b25c38cbc14f425796fa2af.tar.gz
rust-0ac465924e6ae4380b25c38cbc14f425796fa2af.zip
Add line numbers and columns to error messages spanning multiple files
If an error message is emitted that spans several files, only the
primary file currently has line and column data attached. This is
useful information, even in files other than the one in which the error
occurs. We can often work out which line and column the error
corresponds to in other files — in this case it is helpful to add them
(in the case of ambiguity, the first relevant line/column is picked,
which is still helpful than none).
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions