rust/src
Dylan DPC 67d735c4bf
Rollup merge of #69736 - matthiaskrgr:even_more_clippy, r=Dylan-DPC
even more clippy cleanups

* Don't pass &mut where immutable reference (&) is sufficient (clippy::unnecessary_mut_passed)
* Use more efficient &&str to String conversion (clippy::inefficient_to_string)
* Don't always eval arguments inside .expect(), use unwrap_or_else and closure. (clippy::expect_fun_call)
* Use righthand '&' instead of lefthand "ref". (clippy::toplevel_ref_arg)
* Use simple 'for i in x' loops instead of 'while let Some(i) = x.next()' loops on iterators. (clippy::while_let_on_iterator)
* Const items have by default a static lifetime, there's no need to annotate it. (clippy::redundant_static_lifetimes)
* Remove redundant patterns when matching ( x @ _  to  x) (clippy::redundant_pattern)
2020-03-05 22:04:10 +01:00
..
bootstrap Auto merge of #69636 - RalfJung:miri, r=nikomatsakis 2020-03-04 10:44:55 +00:00
build_helper
ci Rollup merge of #68863 - pietroalbini:azure-macos-10.15, r=Mark-Simulacrum 2020-02-19 18:12:07 +01:00
doc Rename syntax to rustc_ast in source code 2020-02-29 21:59:09 +03:00
etc Rollup merge of #69049 - pthariensflame:improvement/imgbot, r=GuillaumeGomez 2020-02-13 02:52:53 +01:00
liballoc Rollup merge of #69650 - matthiaskrgr:clnp, r=varkor 2020-03-03 21:26:13 +01:00
libarena
libcore Make link to std::str active 2020-03-05 08:52:46 +01:00
libfmt_macros
libgraphviz Add option to dot::render for monospace font 2020-02-09 10:33:06 -08:00
libpanic_abort
libpanic_unwind
libproc_macro
libprofiler_builtins
librustc Rollup merge of #69736 - matthiaskrgr:even_more_clippy, r=Dylan-DPC 2020-03-05 22:04:10 +01:00
librustc_apfloat
librustc_ast Auto merge of #69506 - Centril:stmt-semi-none, r=petrochenkov 2020-03-03 19:57:07 +00:00
librustc_ast_lowering encode ; stmt w/o expr as StmtKind::Empty 2020-03-01 23:02:17 +01:00
librustc_ast_passes Rename syntax to rustc_ast in source code 2020-02-29 21:59:09 +03:00
librustc_ast_pretty encode ; stmt w/o expr as StmtKind::Empty 2020-03-01 23:02:17 +01:00
librustc_attr Rename syntax to rustc_ast in source code 2020-02-29 21:59:09 +03:00
librustc_builtin_macros Use more efficient &&str to String conversion (clippy::inefficient_to_string) 2020-03-05 16:39:20 +01:00
librustc_codegen_llvm Rollup merge of #69736 - matthiaskrgr:even_more_clippy, r=Dylan-DPC 2020-03-05 22:04:10 +01:00
librustc_codegen_ssa Don't use "if let" bindings to only check a value and not actually bind anything. 2020-03-04 20:41:03 +01:00
librustc_codegen_utils Rename syntax to rustc_ast in source code 2020-02-29 21:59:09 +03:00
librustc_data_structures use is_empty() instead of len() == x to determine if structs are empty. 2020-02-28 15:16:27 +01:00
librustc_driver Auto merge of #69442 - jakevossen5:master, r=Mark-Simulacrum 2020-03-02 03:16:22 +00:00
librustc_error_codes Rollup merge of #69732 - GuillaumeGomez:cleanup-e0382-e0384, r=Dylan-DPC 2020-03-05 22:04:09 +01:00
librustc_errors Use single-char patter on {ends,starts}_with and remove clone on copy type. 2020-03-04 20:47:05 +01:00
librustc_expand Improve weird formatting by moving comment inside else-code block. 2020-03-03 01:01:21 +01:00
librustc_feature Revert "Mark attributes consumed by check_mod_attrs as normal" 2020-02-27 00:00:00 +00:00
librustc_fs_util
librustc_hir use values() or keys() respectively when iterating only over keys or values of maps. 2020-03-02 13:01:05 +01:00
librustc_incremental Use more efficient &&str to String conversion (clippy::inefficient_to_string) 2020-03-05 16:39:20 +01:00
librustc_index index ReEmpty by universe 2020-02-06 15:58:00 -05:00
librustc_infer Don't pass &mut where immutable reference (&) is sufficient (clippy::unnecessary_mut_passed) 2020-03-05 16:39:20 +01:00
librustc_interface Don't use "if let" bindings to only check a value and not actually bind anything. 2020-03-04 20:41:03 +01:00
librustc_lexer Spelling error "represening" to "representing" 2020-02-13 11:14:21 -05:00
librustc_lint Rollup merge of #69736 - matthiaskrgr:even_more_clippy, r=Dylan-DPC 2020-03-05 22:04:10 +01:00
librustc_llvm use char instead of &str for single char patterns 2020-02-27 14:57:22 +01:00
librustc_macros librustc_macros: remove redundant single component path import 2020-02-24 14:56:30 +01:00
librustc_metadata Auto merge of #69432 - petrochenkov:alldeps, r=eddyb 2020-03-02 00:07:06 +00:00
librustc_mir Rollup merge of #69736 - matthiaskrgr:even_more_clippy, r=Dylan-DPC 2020-03-05 22:04:10 +01:00
librustc_mir_build Use righthand '&' instead of lefthand "ref". (clippy::toplevel_ref_arg) 2020-03-05 16:39:12 +01:00
librustc_parse Rollup merge of #69736 - matthiaskrgr:even_more_clippy, r=Dylan-DPC 2020-03-05 22:04:10 +01:00
librustc_passes Don't use "if let" bindings to only check a value and not actually bind anything. 2020-03-04 20:41:03 +01:00
librustc_plugin_impl Rename syntax to rustc_ast in source code 2020-02-29 21:59:09 +03:00
librustc_privacy Auto merge of #69380 - Zoxc:parent-module, r=michaelwoerister 2020-03-01 14:21:03 +00:00
librustc_resolve Rollup merge of #69736 - matthiaskrgr:even_more_clippy, r=Dylan-DPC 2020-03-05 22:04:10 +01:00
librustc_save_analysis Rollup merge of #69605 - JohnTitor:opt-def-id, r=petrochenkov 2020-03-01 19:28:15 +09:00
librustc_session Remove chalk integration 2020-03-02 18:11:53 -05:00
librustc_span use conditions directly 2020-03-03 03:46:45 +01:00
librustc_target Auto merge of #69257 - RalfJung:layout-visitor, r=eddyb 2020-03-02 09:37:35 +00:00
librustc_traits Remove chalk integration 2020-03-02 18:11:53 -05:00
librustc_ty Remove chalk integration 2020-03-02 18:11:53 -05:00
librustc_typeck Rollup merge of #69736 - matthiaskrgr:even_more_clippy, r=Dylan-DPC 2020-03-05 22:04:10 +01:00
librustdoc Rollup merge of #69736 - matthiaskrgr:even_more_clippy, r=Dylan-DPC 2020-03-05 22:04:10 +01:00
libserialize Inline various simple emit_* and read_* methods in Decoder. 2020-02-18 16:46:50 +11:00
libstd Rollup merge of #69736 - matthiaskrgr:even_more_clippy, r=Dylan-DPC 2020-03-05 22:04:10 +01:00
libterm
libtest Don't always eval arguments inside .expect(), use unwrap_or_else and closure. (clippy::expect_fun_call) 2020-03-05 16:39:20 +01:00
libunwind
llvm-project@9f65ad0573 update llvm to silence gcc 9 warnings 2020-02-26 10:27:01 +08:00
rtstartup
rustc
rustllvm Invoke OptimizerLastEPCallbacks in PreLinkThinLTO 2020-03-03 08:37:44 +01:00
stdarch@dea57529b3
test Auto merge of #69678 - Dylan-DPC:rollup-yoaueud, r=Dylan-DPC 2020-03-03 23:26:38 +00:00
tools submodules: update clippy from 8b7f7e66 to 329923ed 2020-03-04 19:56:10 +01:00
README.md
stage0.txt nightly: bootstrap from 1.42.0-beta.5 (4e1c5f0e9 2020-02-28) 2020-02-29 11:44:09 +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 guide.