rust/src
Dylan DPC e58fec0c1c
Rollup merge of #70229 - matthiaskrgr:cl3ppy, r=Mark-Simulacrum
more clippy fixes

* remove unused unit values (clippy::unused_unit)
* make some let-if-bindings more idiomatic (clippy::useless_let_if_seq)
* clarify when we pass () to functions (clippy::unit_arg)
* don't redundantly repeat field names (clippy::redundant_field_names)
* remove redundant returns (clippy::needless_return)
* use let instead of match for matches with single bindings (clippy::match_single_binding)
* don't convert results to options just for matching (clippy::if_let_some_result)
2020-03-22 15:48:35 +01:00
..
bootstrap Remove CARGO_BUILD_TARGET from bootstrap.py 2020-03-21 21:54:01 +07:00
build_helper
ci Rollup merge of #70054 - rojamd:android-pgo, r=michaelwoerister 2020-03-21 08:51:15 +01:00
doc Update books 2020-03-16 19:09:54 -07:00
etc Test pretty printing more and fix overzealous type substitution 2020-03-21 14:03:09 +00:00
liballoc Rollup merge of #68099 - lukaslueg:into_raw_unsafe, r=LukasKalbertodt 2020-03-22 15:48:28 +01:00
libarena
libcore Rollup merge of #70187 - matthiaskrgr:cl2ppy, r=Mark-Simulacrum 2020-03-21 05:33:31 +01:00
libfmt_macros fix various typos 2020-03-06 15:19:31 +01:00
libgraphviz
libpanic_abort Simplify the try intrinsic by using a callback in the catch block 2020-03-05 17:36:50 +00:00
libpanic_unwind remove unused imports 2020-03-19 07:53:32 +01:00
libproc_macro Use min_specialization in libstd and libproc_macro 2020-03-15 13:23:03 +00:00
libprofiler_builtins Remove -ffreestanding from libprofiler_builtins because we do need the standard library 2020-03-18 15:55:26 -04:00
librustc Rollup merge of #70229 - matthiaskrgr:cl3ppy, r=Mark-Simulacrum 2020-03-22 15:48:35 +01:00
librustc_apfloat
librustc_ast ast: Compress AttrId from usize to u32 2020-03-21 11:29:07 +03:00
librustc_ast_lowering Rollup merge of #69033 - jonas-schievink:resume-with-context, r=tmandry 2020-03-21 05:33:15 +01:00
librustc_ast_passes Rollup merge of #70032 - lcnr:issue69970, r=varkor 2020-03-21 13:06:40 +01:00
librustc_ast_pretty Don't prepend with space before paren 2020-03-17 18:29:20 +01:00
librustc_attr Other legacy -> macro_rules 2020-03-16 00:29:42 +03:00
librustc_builtin_macros use let instead of match for matches with single bindings (clippy::match_single_binding) 2020-03-21 15:54:14 +01:00
librustc_codegen_llvm Rollup merge of #69965 - mark-i-m:codegen-utils, r=eddyb 2020-03-21 08:51:14 +01:00
librustc_codegen_ssa Rollup merge of #70126 - wesleywiser:fix_miri_ice_neg_zst_enum_discr, r=RalfJung,eddyb 2020-03-21 22:56:20 +01:00
librustc_data_structures remove redundant returns (clippy::needless_return) 2020-03-20 20:23:03 +01:00
librustc_driver Rollup merge of #69965 - mark-i-m:codegen-utils, r=eddyb 2020-03-21 08:51:14 +01:00
librustc_error_codes Add explanation message for E0224 2020-03-21 15:43:12 +00:00
librustc_errors use direct imports for rustc::{lint, session}. 2020-03-16 02:52:06 +01:00
librustc_expand Rollup merge of #69497 - Zoxc:ast-fragment-error, r=petrochenkov 2020-03-21 13:06:33 +01:00
librustc_feature Rollup merge of #69870 - petrochenkov:cfgacc, r=matthewjasper 2020-03-17 03:05:12 +01:00
librustc_fs_util
librustc_hir rustc: use LocalDefId instead of DefIndex in ich. 2020-03-19 11:16:08 +02:00
librustc_incremental Rollup merge of #70092 - eddyb:hir-items-are-just-nodes, r=Zoxc 2020-03-21 08:51:19 +01:00
librustc_index Add requisite feature gates for const assert 2020-03-17 11:15:40 -07:00
librustc_infer Rollup merge of #70229 - matthiaskrgr:cl3ppy, r=Mark-Simulacrum 2020-03-22 15:48:35 +01:00
librustc_interface Rollup merge of #69497 - Zoxc:ast-fragment-error, r=petrochenkov 2020-03-21 13:06:33 +01:00
librustc_lexer remove redundant returns (clippy::needless_return) 2020-03-20 20:23:03 +01:00
librustc_lint remove redundant returns (clippy::needless_return) 2020-03-20 20:23:03 +01:00
librustc_llvm use char instead of &str for single char patterns 2020-02-27 14:57:22 +01:00
librustc_macros Auto merge of #66364 - Centril:cleanup-macro-def, r=petrochenkov,eddyb 2020-03-10 17:12:48 +00:00
librustc_metadata Rollup merge of #70092 - eddyb:hir-items-are-just-nodes, r=Zoxc 2020-03-21 08:51:19 +01:00
librustc_mir Rollup merge of #70229 - matthiaskrgr:cl3ppy, r=Mark-Simulacrum 2020-03-22 15:48:35 +01:00
librustc_mir_build remove unused unit values (clippy::unused_unit) 2020-03-21 20:45:19 +01:00
librustc_parse Rollup merge of #70209 - Centril:recover-quant-closure, r=petrochenkov 2020-03-22 15:48:32 +01:00
librustc_passes Rollup merge of #69901 - RalfJung:rustc_layout, r=eddyb 2020-03-21 13:06:35 +01:00
librustc_plugin_impl use direct imports for rustc::{lint, session}. 2020-03-16 02:52:06 +01:00
librustc_privacy remove redundant returns (clippy::needless_return) 2020-03-20 20:23:03 +01:00
librustc_resolve make some let-if-bindings more idiomatic (clippy::useless_let_if_seq) 2020-03-21 20:45:18 +01:00
librustc_save_analysis Rollup merge of #69965 - mark-i-m:codegen-utils, r=eddyb 2020-03-21 08:51:14 +01:00
librustc_session Rollup merge of #69965 - mark-i-m:codegen-utils, r=eddyb 2020-03-21 08:51:14 +01:00
librustc_span Rollup merge of #70229 - matthiaskrgr:cl3ppy, r=Mark-Simulacrum 2020-03-22 15:48:35 +01:00
librustc_symbol_mangling symbol_names: treat ReifyShim like VtableShim. 2020-03-21 14:51:58 +02:00
librustc_target remove unused unit values (clippy::unused_unit) 2020-03-21 20:45:19 +01:00
librustc_trait_selection Rollup merge of #70229 - matthiaskrgr:cl3ppy, r=Mark-Simulacrum 2020-03-22 15:48:35 +01:00
librustc_traits clarify when we pass () to functions (clippy::unit_arg) 2020-03-21 20:45:14 +01:00
librustc_ty remove redundant returns (clippy::needless_return) 2020-03-20 20:23:03 +01:00
librustc_typeck Rollup merge of #70229 - matthiaskrgr:cl3ppy, r=Mark-Simulacrum 2020-03-22 15:48:35 +01:00
librustdoc remove redundant returns (clippy::needless_return) 2020-03-21 15:55:34 +01:00
libserialize
libstd Rollup merge of #70232 - adrian5:patch-1, r=Dylan-DPC 2020-03-21 22:56:30 +01:00
libterm
libtest Rollup merge of #69802 - matthiaskrgr:cl1ppy, r=Dylan-DPC 2020-03-14 04:03:24 +09:00
libunwind Link to libgcc dynamically on windows-gnu when using dylib crates 2020-03-05 17:36:50 +00:00
llvm-project@9f65ad0573 update llvm to silence gcc 9 warnings 2020-02-26 10:27:01 +08:00
rtstartup Fix MinGW termination callbacks not being invoked 2020-03-05 17:36:50 +00:00
rustc
rustllvm librustc_codegen_llvm: Use slices instead of 0-terminated strings 2020-03-11 08:10:21 +01:00
stdarch@abe96ca3b8 Update stdarch submodule 2020-03-19 14:38:09 +00:00
test Rollup merge of #70223 - lcnr:issue70167, r=eddyb 2020-03-22 15:48:34 +01:00
tools Auto merge of #70153 - flip1995:clippyup, r=Dylan-DPC 2020-03-22 00:57:57 +00:00
README.md rust-lang.github.io/rustc-dev-guide -> rustc-dev-guide.rust-lang.org 2020-03-10 17:08:18 -03:00
stage0.txt Bump the bootstrap compiler 2020-03-15 19:43:25 +01: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 dev guide.