about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-11-15 18:02:02 +0100
committerGitHub <noreply@github.com>2019-11-15 18:02:02 +0100
commitae0c8b5f09f101d854bb5cb7fa9025053c394339 (patch)
tree169d70f9a0c32adf26e6f1401a6e6b9e2f02b8f0 /src/liballoc
parent4e6e1eccf1e512d1dee42ddad007b94f17b6e2de (diff)
parentc31a8754e3f3a9274759cb429aad4ae594d39e29 (diff)
downloadrust-ae0c8b5f09f101d854bb5cb7fa9025053c394339.tar.gz
rust-ae0c8b5f09f101d854bb5cb7fa9025053c394339.zip
Rollup merge of #66427 - Mark-Simulacrum:errors-json, r=Centril
Move the JSON error emitter to librustc_errors

This is done both as a cleanup (it makes little sense for this emitter to be in libsyntax), but also as part of broader work to decouple Session from librustc itself.

Along the way, this also moves SourceMap to syntax_pos, which is also nice for the above reasons, as well as allowing dropping the SourceMapper trait from code. This had the unfortunate side-effect of moving `FatalError` to rustc_data_structures (it's needed in syntax_pos, due to SourceMap, but putting it there feels somehow worse).
Diffstat (limited to 'src/liballoc')
0 files changed, 0 insertions, 0 deletions