rust/src
bors ed6468da16 Auto merge of #67770 - Centril:reduce-diversity-2, r=petrochenkov
More reductions in error handling diversity

In this follow up to https://github.com/rust-lang/rust/pull/67744, we:

- Remove all fatal / error / warning macros in `syntax` except for `struct_span_err`, which is moved to `rustc_errors`.

- Lintify some hard-coded warnings which used warning macros.

- Defatalize some errors.

In general, the goal here is to make it painful to use fatal or unstructured errors and so we hopefully won't see many of these creep in.

Fixes https://github.com/rust-lang/rust/issues/67933.
2020-01-08 12:12:08 +00:00
..
bootstrap Auto merge of #67760 - Mark-Simulacrum:rustc-dirty, r=alexcrichton 2020-01-08 09:03:46 +00:00
build_helper Format the world 2019-12-22 17:42:47 -05:00
ci Auto merge of #67733 - pietroalbini:gha-2, r=alexcrichton 2020-01-08 05:05:06 +00:00
doc Update books 2020-01-06 19:07:18 -08:00
etc Auto merge of #67334 - estebank:ignore-triple, r=nikomatsakis 2019-12-28 23:02:09 +00:00
liballoc Auto merge of #67312 - cuviper:clone-box-slice, r=SimonSapin 2020-01-07 18:10:56 +00:00
libarena Format the world 2019-12-22 17:42:47 -05:00
libcore Rollup merge of #67915 - lzutao:Self, r=Centril 2020-01-06 12:00:23 +05:30
libfmt_macros Rename syntax_pos to rustc_span in source code 2020-01-01 09:15:18 +03:00
libgraphviz Format the world 2019-12-22 17:42:47 -05:00
libpanic_abort Format the world 2019-12-22 17:42:47 -05:00
libpanic_unwind Auto merge of #66899 - msizanoen1:riscv-std, r=alexcrichton 2020-01-06 19:07:42 +00:00
libproc_macro Format the world 2019-12-22 17:42:47 -05:00
libprofiler_builtins Format the world 2019-12-22 17:42:47 -05:00
librustc - remove syntax::{span_warn!, span_err!, span_fatal!. struct_err!} 2020-01-08 04:25:33 +01:00
librustc_apfloat Format the world 2019-12-22 17:42:47 -05:00
librustc_asan Format the world 2019-12-22 17:42:47 -05:00
librustc_ast_lowering - remove syntax::{span_warn!, span_err!, span_fatal!. struct_err!} 2020-01-08 04:25:33 +01:00
librustc_builtin_macros - remove syntax::{span_warn!, span_err!, span_fatal!. struct_err!} 2020-01-08 04:25:33 +01:00
librustc_codegen_llvm Auto merge of #67886 - Centril:rustc_hir_canon_imports, r=nagisa 2020-01-06 12:55:40 +00:00
librustc_codegen_ssa - remove syntax::{span_warn!, span_err!, span_fatal!. struct_err!} 2020-01-08 04:25:33 +01:00
librustc_codegen_utils Remove rustc_hir reexports in rustc::hir. 2020-01-05 12:49:22 +01:00
librustc_data_structures Rollup merge of #67882 - euclio:flock, r=rkruppe 2020-01-05 22:44:34 +05:30
librustc_driver Remove rustc_hir reexports in rustc::hir. 2020-01-05 12:49:22 +01:00
librustc_error_codes - remove syntax::{span_warn!, span_err!, span_fatal!. struct_err!} 2020-01-08 04:25:33 +01:00
librustc_errors - remove syntax::{span_warn!, span_err!, span_fatal!. struct_err!} 2020-01-08 04:25:33 +01:00
librustc_expand Rollup merge of #67137 - anp:tracked-panic-internals, r=eddyb 2020-01-04 23:52:44 +05:30
librustc_feature Rename syntax_pos to rustc_span in source code 2020-01-01 09:15:18 +03:00
librustc_fs_util Format src/librustc_fs_util. 2019-12-21 20:23:39 -05:00
librustc_hir Improve hygiene of newtype_index 2020-01-06 20:43:10 +00:00
librustc_incremental Remove rustc_hir reexports in rustc::hir. 2020-01-05 12:49:22 +01:00
librustc_index Improve hygiene of newtype_index 2020-01-06 20:43:10 +00:00
librustc_interface Remove rustc_hir reexports in rustc::hir. 2020-01-05 12:49:22 +01:00
librustc_lexer Format the world 2019-12-22 17:42:47 -05:00
librustc_lint Rename traits::drop -> traits::misc. 2020-01-07 19:36:50 +01:00
librustc_llvm Format the world 2019-12-22 17:42:47 -05:00
librustc_lsan Format the world 2019-12-22 17:42:47 -05:00
librustc_macros Format the world 2019-12-22 17:42:47 -05:00
librustc_metadata - remove syntax::{span_warn!, span_err!, span_fatal!. struct_err!} 2020-01-08 04:25:33 +01:00
librustc_mir - remove syntax::{span_warn!, span_err!, span_fatal!. struct_err!} 2020-01-08 04:25:33 +01:00
librustc_msan Format the world 2019-12-22 17:42:47 -05:00
librustc_parse - remove syntax::{span_warn!, span_err!, span_fatal!. struct_err!} 2020-01-08 04:25:33 +01:00
librustc_passes - remove syntax::{span_warn!, span_err!, span_fatal!. struct_err!} 2020-01-08 04:25:33 +01:00
librustc_plugin_impl - remove syntax::{span_warn!, span_err!, span_fatal!. struct_err!} 2020-01-08 04:25:33 +01:00
librustc_privacy - remove syntax::{span_warn!, span_err!, span_fatal!. struct_err!} 2020-01-08 04:25:33 +01:00
librustc_resolve - remove syntax::{span_warn!, span_err!, span_fatal!. struct_err!} 2020-01-08 04:25:33 +01:00
librustc_save_analysis Remove rustc_hir reexports in rustc::hir. 2020-01-05 12:49:22 +01:00
librustc_session Improve hygiene of newtype_index 2020-01-06 20:43:10 +00:00
librustc_span span_to_lines: account for DUMMY_SP 2020-01-08 04:25:33 +01:00
librustc_target Add backticks to various diagnostics 2020-01-05 00:17:46 +00:00
librustc_traits Move ty::wf to traits. 2020-01-07 18:03:53 +01:00
librustc_tsan Format the world 2019-12-22 17:42:47 -05:00
librustc_typeck - remove syntax::{span_warn!, span_err!, span_fatal!. struct_err!} 2020-01-08 04:25:33 +01:00
librustdoc Rollup merge of #67908 - ollie27:rustdoc_const_html_escape, r=GuillaumeGomez 2020-01-07 13:46:07 +09:00
libserialize Deprecate Error::description for real 2019-12-24 22:39:49 -08:00
libstd Rollup merge of #67943 - Stromberg90:patch-1, r=jonas-schievink 2020-01-07 13:46:15 +09:00
libsyntax - remove syntax::{span_warn!, span_err!, span_fatal!. struct_err!} 2020-01-08 04:25:33 +01:00
libterm Auto merge of #67605 - lzutao:msdn-links, r=Mark-Simulacrum 2019-12-28 09:19:26 +00:00
libtest Format the world 2019-12-22 17:42:47 -05:00
libunwind Auto merge of #66899 - msizanoen1:riscv-std, r=alexcrichton 2020-01-06 19:07:42 +00:00
llvm-project@9330ec5a4c Update LLVM 2020-01-01 09:52:29 +07:00
rtstartup Format the world 2019-12-22 17:42:47 -05:00
rustc Format the world 2019-12-22 17:42:47 -05:00
rustllvm Rollup merge of #67033 - cuviper:ValueName2, r=rkruppe 2019-12-07 00:10:02 +09:00
stdarch@e0ab2c165a
test - remove syntax::{span_warn!, span_err!, span_fatal!. struct_err!} 2020-01-08 04:25:33 +01:00
tools Auto merge of #67924 - RalfJung:miri, r=RalfJung 2020-01-07 11:32:55 +00:00
README.md
stage0.txt Implement rustfmt running manually using ignore crate 2019-12-21 20:23:55 -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.