rust/src/librustc_interface
Yuki Okushi 6e6c46c694
Rollup merge of #66456 - Centril:driver-codes, r=Mark-Simulacrum
Move `DIAGNOSTICS` usage to `rustc_driver`

Remove `rustc_interface`'s dependency on `rustc_error_codes` and centralize all usages of `DIAGNOSTICS` in `rustc_driver`. Once we remove all references to `rustc_error_codes` in all other crates but `rustc_driver`, this should allow for incremental recompilation of the compiler to be smoother when tweaking error codes. This works towards https://github.com/rust-lang/rust/issues/66210#issuecomment-551862528.

(May include traces of minor drive-by cleanup.)

r? @Mark-Simulacrum
2019-11-17 13:36:18 +09:00
..
build.rs Locate rustc binary similarly to codegen backend loading 2019-09-10 16:57:14 -04:00
Cargo.toml move DIAGNOSTICS usage to rustc_driver 2019-11-16 02:32:33 +01:00
interface.rs move DIAGNOSTICS usage to rustc_driver 2019-11-16 02:32:33 +01:00
lib.rs move parse_cfgspecs to rustc_interface 2019-10-19 13:25:46 +02:00
passes.rs rustc_plugin: Remove Registry::register_attribute 2019-11-16 18:50:23 +03:00
proc_macro_decls.rs rename hir::map::local_def_id_from_hir_id to local_def_id 2019-07-04 12:53:12 +02:00
queries.rs rustc_interface: Remove ExpansionResult and some Steals 2019-10-24 21:12:05 +03:00
tests.rs move config.rs to libsyntax_expand 2019-11-10 02:46:17 +01:00
util.rs move DIAGNOSTICS usage to rustc_driver 2019-11-16 02:32:33 +01:00