rust/src
Mazdak Farrokhzad ae0c8b5f09
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).
2019-11-15 18:02:02 +01:00
..
bootstrap Rollup merge of #66317 - cuviper:bindir_relative, r=Mark-Simulacrum 2019-11-13 22:09:23 +09:00
build_helper
ci Attempt to fix *.yml confguration on Azure 2019-11-07 13:06:56 -08:00
doc Rollup merge of #66166 - GuillaumeGomez:rename-rustdoc-to-doc, r=QuietMisdreavus 2019-11-13 22:09:13 +09:00
etc also adjust ignore in generated tests 2019-11-02 23:20:28 +01:00
liballoc Auto merge of #64432 - gnzlbg:simplify_truncate, r=alexcrichton 2019-11-15 01:23:51 +00:00
libarena bump smallvec to 1.0 2019-11-04 15:59:09 +01:00
libcore Rollup merge of #66292 - lzutao:result-map_or, r=SimonSapin 2019-11-13 22:09:20 +09:00
libfmt_macros Fix libfmt_macros tests 2019-11-06 12:49:20 -08:00
libgraphviz
libpanic_abort Revert "Auto merge of #65134 - davidtwco:issue-19834-improper-ctypes-in-extern-C-fn, r=rkruppe" 2019-11-13 17:00:47 +01:00
libpanic_unwind Revert "Auto merge of #65134 - davidtwco:issue-19834-improper-ctypes-in-extern-C-fn, r=rkruppe" 2019-11-13 17:00:47 +01:00
libproc_macro Snap cfgs 2019-11-12 16:36:57 -05:00
libprofiler_builtins
librustc Rollup merge of #66427 - Mark-Simulacrum:errors-json, r=Centril 2019-11-15 18:02:02 +01:00
librustc_apfloat bump smallvec to 1.0 2019-11-04 15:59:09 +01:00
librustc_asan
librustc_codegen_llvm Auto merge of #66378 - rkruppe:revert-pr-65134, r=pnkfelix 2019-11-14 11:06:41 +00:00
librustc_codegen_ssa Remove SourceMapper trait 2019-11-15 08:45:43 -05:00
librustc_codegen_utils Rename in librustc_codegen_utils. 2019-11-12 20:50:46 +01:00
librustc_data_structures Rollup merge of #66013 - nnethercote:avoid-hashing-twice-in-get_query, r=Zoxc 2019-11-15 18:36:20 +09:00
librustc_driver Update rustc --explain to the new error codes format 2019-11-14 13:05:56 +01:00
librustc_error_codes Rollup merge of #66443 - GuillaumeGomez:port-erased-cleanup, r=Mark-Simulacrum 2019-11-15 14:44:52 +01:00
librustc_errors Move JSON emitter to rustc_errors 2019-11-15 08:45:49 -05:00
librustc_fs_util
librustc_incremental Simplify various Symbol use points. 2019-11-02 09:01:02 +11:00
librustc_index bump smallvec to 1.0 2019-11-04 15:59:09 +01:00
librustc_interface Update to use new librustc_error_codes library 2019-11-14 13:05:42 +01:00
librustc_lexer move syntax::parse -> librustc_parse 2019-11-10 03:57:18 +01:00
librustc_lint Auto merge of #66314 - GuillaumeGomez:move-error-codes, r=Centril 2019-11-14 14:11:38 +00:00
librustc_llvm Statically link libstdc++ on windows-gnu 2019-10-30 23:18:57 +01:00
librustc_lsan
librustc_macros
librustc_metadata Remove unused error_codes.rs files 2019-11-14 13:05:56 +01:00
librustc_mir Rollup merge of #66435 - JohnTitor:fix-spelling, r=Centril 2019-11-15 14:44:50 +01:00
librustc_msan
librustc_parse Rollup merge of #66197 - Centril:transparent-ast, r=varkor 2019-11-15 14:44:47 +01:00
librustc_passes Rollup merge of #66197 - Centril:transparent-ast, r=varkor 2019-11-15 14:44:47 +01:00
librustc_plugin Remove unused error_codes.rs files 2019-11-14 13:05:56 +01:00
librustc_privacy Remove unused error_codes.rs files 2019-11-14 13:05:56 +01:00
librustc_resolve Rollup merge of #66197 - Centril:transparent-ast, r=varkor 2019-11-15 14:44:47 +01:00
librustc_save_analysis TAIT: adjust save-analysis 2019-11-14 13:40:42 +01:00
librustc_target Rollup merge of #66257 - mati865:long-section-names-no-more, r=alexcrichton 2019-11-12 16:36:07 +09:00
librustc_traits Rename in librustc_traits. 2019-11-12 20:14:53 +01:00
librustc_tsan
librustc_typeck Rollup merge of #66391 - estebank:if-else-async-ice, r=Centril 2019-11-15 18:36:28 +09:00
librustdoc Rollup merge of #66427 - Mark-Simulacrum:errors-json, r=Centril 2019-11-15 18:02:02 +01:00
libserialize bump smallvec to 1.0 2019-11-04 15:59:09 +01:00
libstd Rollup merge of #66350 - hermitcore:hermit, r=rkruppe 2019-11-15 18:01:58 +01:00
libsyntax Rollup merge of #66427 - Mark-Simulacrum:errors-json, r=Centril 2019-11-15 18:02:02 +01:00
libsyntax_expand move syntax::parse -> librustc_parse 2019-11-10 03:57:18 +01:00
libsyntax_ext Rollup merge of #66415 - tmandry:force-test-in-process, r=alexcrichton 2019-11-15 18:02:01 +01:00
libsyntax_pos Remove SourceMapper trait 2019-11-15 08:45:43 -05:00
libterm
libtest Add --force-run-in-process unstable libtest option 2019-11-15 05:52:06 -08:00
libunwind Allow foreign exceptions to unwind through Rust code 2019-11-03 14:03:21 +00:00
llvm-project@cf9304d6d0 Update llvm submodule 2019-11-12 11:02:17 +01:00
rtstartup
rustc
rustllvm Rollup merge of #66062 - smaeul:patch/pic-level, r=estebank 2019-11-06 07:03:06 +01:00
stdarch@e0ab2c165a
test Rollup merge of #66415 - tmandry:force-test-in-process, r=alexcrichton 2019-11-15 18:02:01 +01:00
tools Rollup merge of #66427 - Mark-Simulacrum:errors-json, r=Centril 2019-11-15 18:02:02 +01:00
README.md remove the last remaining READMEs 2019-10-24 13:32:54 -05:00
stage0.txt Bump version to 1.41 2019-11-12 16:36:57 -05:00

This directory contains the source code of the rust project, including:

  • rustc and its tests
  • libstd
  • Various submodules for tools, like rustdoc, rls, etc.

For more information on how various parts of the compiler work, see the rustc guide.