about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-01-30 17:10:54 +0800
committerGitHub <noreply@github.com>2018-01-30 17:10:54 +0800
commit44b964147e8bed485ff5993e86f8e32a5c915489 (patch)
treef098d25452fff0b58de440222c7e3d9a006733dd /src/rustllvm/RustWrapper.cpp
parent4dbfc8ddbfd091aefa4b0af674b6625378ce34fe (diff)
parenta21b7b3b162932011b83f4703fb87030c216e962 (diff)
downloadrust-44b964147e8bed485ff5993e86f8e32a5c915489.tar.gz
rust-44b964147e8bed485ff5993e86f8e32a5c915489.zip
Rollup merge of #47780 - varkor:cross-file-errors-line-col, r=estebank
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