]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #34403 - jonathandturner:move_liberror, r=alexcrichton
authorJeffrey Seyfried <jeffrey.seyfried@gmail.com>
Sat, 25 Jun 2016 22:27:27 +0000 (22:27 +0000)
committerJeffrey Seyfried <jeffrey.seyfried@gmail.com>
Sat, 25 Jun 2016 22:35:09 +0000 (22:35 +0000)
This PR refactors the 'errors' part of libsyntax into its own crate (librustc_errors).  This is the first part of a few refactorings to simplify error reporting and potentially support more output formats (like a standardized JSON output and possibly an --explain mode that can work with the user's code), though this PR stands on its own and doesn't assume further changes.

As part of separating out the errors crate, I have also refactored the code position portion of codemap into its own crate (libsyntax_pos).  While it's helpful to have the common code positions in a separate crate for the new errors crate, this may also enable further simplifications in the future.

15 files changed:
1  2 
src/librustc/hir/lowering.rs
src/librustc_lint/lib.rs
src/librustc_resolve/build_reduced_graph.rs
src/librustc_resolve/lib.rs
src/librustc_save_analysis/dump_visitor.rs
src/librustc_save_analysis/lib.rs
src/libsyntax/ast.rs
src/libsyntax/ext/base.rs
src/libsyntax/ext/build.rs
src/libsyntax/ext/expand.rs
src/libsyntax/ext/tt/macro_rules.rs
src/libsyntax/fold.rs
src/libsyntax/parse/parser.rs
src/libsyntax/print/pprust.rs
src/libsyntax/visit.rs

Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge